From 4a24f547e1da215d25a88e2e0d79d20e013847c1 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期三, 31 三月 2021 15:39:11 +0800 Subject: [PATCH] 图层配置 --- src/main.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index f174d4a..4c254ad 100644 --- a/src/main.js +++ b/src/main.js @@ -15,12 +15,15 @@ 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 +window.Vue = Vue // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0