From 24d2724aaf2f8331fc179c87595eb9a4720cf8a9 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 31 三月 2021 14:32:40 +0800 Subject: [PATCH] 修改文件接口路徑 --- src/main.js | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index f174d4a..653b668 100644 --- a/src/main.js +++ b/src/main.js @@ -15,12 +15,14 @@ import '@/utils/dialogDrag.js' import '@components/plugin/leaflet-measure-path/leaflet-measure-path.css' import '@components/plugin/leaflet-measure-path/leaflet-measure-path' - +const appConfig = require('@/app.config') Vue.config.productionTip = false Vue.use(ElementUI) Vue.prototype.$cancels = [] Vue.prototype.L = L +Vue.prototype.$config = appConfig +Vue.prototype.$echarts = echarts // 鎸傝浇echarts // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0