提交 b8290d3f 编写于 作者: huangwensu's avatar huangwensu

图片涂鸦插件

上级 2195795f
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
<meta content="" name="description"/> <meta content="" name="description"/>
<meta content="" name="author"/> <meta content="" name="author"/>
<link rel="shortcut icon" href="./static/img/index_logoicon.png"> <link rel="shortcut icon" href="./static/img/index_logoicon.png">
<link
rel="stylesheet"
href="https://uicdn.toast.com/tui-image-editor/latest/tui-image-editor.css"
/>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
...@@ -15,6 +20,7 @@ ...@@ -15,6 +20,7 @@
<!--oss upload start--> <!--oss upload start-->
<script src="https://gosspublic.alicdn.com/aliyun-oss-sdk-5.1.1.min.js"></script> <script src="https://gosspublic.alicdn.com/aliyun-oss-sdk-5.1.1.min.js"></script>
<script src="https://unpkg.com/qiniu-js@2.2.0/dist/qiniu.min.js"></script> <script src="https://unpkg.com/qiniu-js@2.2.0/dist/qiniu.min.js"></script>
<script src="https://uicdn.toast.com/tui-image-editor/latest/tui-image-editor.js"></script>
<!--oss upload end--> <!--oss upload end-->
</body> </body>
</html> </html>
此差异已折叠。
...@@ -10,10 +10,13 @@ ...@@ -10,10 +10,13 @@
"build:dll": "webpack --config build/webpack.dll.conf.js" "build:dll": "webpack --config build/webpack.dll.conf.js"
}, },
"dependencies": { "dependencies": {
"@toast-ui/vue-image-editor": "^1.3.0",
"axios": "^0.18.0", "axios": "^0.18.0",
"babel-polyfill": "^6.23.0", "babel-polyfill": "^6.23.0",
"echarts": "^4.9.0", "echarts": "^4.9.0",
"element-ui": "^2.7.2", "element-ui": "^2.7.2",
"file-saver": "^2.0.5",
"tui-image-editor": "^3.11.0",
"vue": "^2.3.2", "vue": "^2.3.2",
"vue-core-image-upload": "2.1.11", "vue-core-image-upload": "2.1.11",
"vue-datasource": "1.0.9", "vue-datasource": "1.0.9",
......
...@@ -5,18 +5,17 @@ import router from './router'; ...@@ -5,18 +5,17 @@ import router from './router';
import store from './vuex/store' import store from './vuex/store'
import axios from 'axios'; import axios from 'axios';
import ElementUI from 'element-ui'; import ElementUI from 'element-ui';
import echarts from 'echarts';
import 'element-ui/lib/theme-chalk/index.css'; // 默认主题 import 'element-ui/lib/theme-chalk/index.css'; // 默认主题
import {getAddress, loadCommonFilter} from './common/env' import {getAddress, loadCommonFilter} from './common/env'
import vueFilter from './common/filter'; import vueFilter from './common/filter';
//加载环境变量 //加载环境变量
getAddress(); getAddress();
loadCommonFilter(); loadCommonFilter();
//加载elementUi //加载elementUi
Vue.use(ElementUI); Vue.use(ElementUI);
Vue.prototype.$echarts = echarts;
// Vue.use(vueXlsxTable, {rABS: false}) // Vue.use(vueXlsxTable, {rABS: false})
if (localStorage.getItem("token")) { if (localStorage.getItem("token")) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册