src/main.js
@@ -48,6 +48,10 @@ Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.download = download Vue.prototype.handleTree = handleTree Vue.prototype.HaveJson = (val) => { return JSON.parse(JSON.stringify(val)) } Vue.prototype.javaApi = process.env.VUE_APP_BASE_API // 全局组件挂载 Vue.component('DictTag', DictTag)