From f9201f16652d1e58d649afaf0c5d025031c52c3f Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期三, 31 三月 2021 11:16:25 +0800 Subject: [PATCH] 更改文件地址/及方法 --- src/main.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 8ca4020..653b668 100644 --- a/src/main.js +++ b/src/main.js @@ -13,12 +13,16 @@ import 'leaflet/dist/leaflet.css' import L from 'leaflet' 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