|
@@ -37,6 +37,8 @@ import DictTag from '@/components/DictTag'
|
|
import VueMeta from 'vue-meta'
|
|
import VueMeta from 'vue-meta'
|
|
// 字典数据组件
|
|
// 字典数据组件
|
|
import DictData from '@/components/DictData'
|
|
import DictData from '@/components/DictData'
|
|
|
|
+// 上传组件
|
|
|
|
+import Upload from '@/components/Upload'
|
|
|
|
|
|
// 全局方法挂载
|
|
// 全局方法挂载
|
|
Vue.prototype.getDicts = getDicts
|
|
Vue.prototype.getDicts = getDicts
|
|
@@ -57,6 +59,7 @@ Vue.component('Editor', Editor)
|
|
Vue.component('FileUpload', FileUpload)
|
|
Vue.component('FileUpload', FileUpload)
|
|
Vue.component('ImageUpload', ImageUpload)
|
|
Vue.component('ImageUpload', ImageUpload)
|
|
Vue.component('ImagePreview', ImagePreview)
|
|
Vue.component('ImagePreview', ImagePreview)
|
|
|
|
+Vue.component('Upload', Upload)
|
|
|
|
|
|
Vue.use(directive)
|
|
Vue.use(directive)
|
|
Vue.use(plugins)
|
|
Vue.use(plugins)
|