src/main.js
@@ -37,7 +37,8 @@ import DictData from '@/components/DictData' // 弹出层组件 import Dialog from '@/components/Dialog/index' //下载附件 import { downFile } from '@/utils/down.js' // 全局方法挂载 Vue.prototype.getDicts = getDicts Vue.prototype.getConfigKey = getConfigKey @@ -48,6 +49,7 @@ Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree Vue.prototype.downFile = downFile // 全局组件挂载 Vue.component('DictTag', DictTag)