黄何裕
2024-07-30 1995e710dcf70e635c4edaa8173f8b66cd67d499
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