src/main.js
@@ -58,6 +58,7 @@ Vue.prototype.download = download Vue.prototype.handleTree = handleTree Vue.prototype.getToken = getToken Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload" // 全局组件挂载 Vue.component('DictTag', DictTag) @@ -75,6 +76,9 @@ Vue.use(dataV) DictData.install() // websocket Vue.prototype.$websocket = null; /** * If you don't want to use mock-server * you want to use MockJs for mock api