|
@@ -19,20 +19,20 @@ import '@/assets/styles/base.scss' // 自定义公共样式
|
|
|
import '@/assets/iconfont/iconfont.css'; //字体图标
|
|
|
import '@/assets/iconfont/iconfont.js'; //字体图标
|
|
|
import '@/assets/styles/font.scss';//字体引入
|
|
|
+// 图片上传组件
|
|
|
+import ImageUpload from "@/components/ImageUpload"
|
|
|
// 字典数据组件
|
|
|
import DictData from '@/components/DictData'
|
|
|
|
|
|
import './assets/icons' // icon
|
|
|
import './permission' // permission control
|
|
|
-// 图片上传组件
|
|
|
-import ImageUpload from "@/components/ImageUpload"
|
|
|
+
|
|
|
//DataV动效组件
|
|
|
import dataV from '@jiaminghi/data-view'
|
|
|
|
|
|
-// 图片上传组件
|
|
|
-import ImageUpload from "@/components/ImageUpload"
|
|
|
//公共过滤器
|
|
|
import './filters'
|
|
|
+
|
|
|
// //WebSocket封装方法
|
|
|
// import * as socketApi from '@/api/socket'
|
|
|
// Vue.prototype.socketApi = socketApi
|
|
@@ -41,14 +41,12 @@ Vue.prototype.$axios = axios
|
|
|
Vue.config.productionTip = false
|
|
|
Vue.prototype.selectDictLabel = selectDictLabel
|
|
|
Vue.prototype.selectDictLabels = selectDictLabels
|
|
|
-
|
|
|
+Vue.component('ImageUpload', ImageUpload)
|
|
|
Vue.use(ElementUI)
|
|
|
Vue.use(VueCookies)
|
|
|
Vue.use(directive)
|
|
|
Vue.use(plugins)
|
|
|
Vue.use(dataV)
|
|
|
-Vue.component('ImageUpload', ImageUpload)
|
|
|
-
|
|
|
Vue.prototype.$echarts = echarts //挂载echarts
|
|
|
DictData.install()
|
|
|
|