From 3c93d885a3bc6a84079cc347bb30888d5fb98f11 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 13 四月 2021 15:45:12 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/develop' into develop --- src/main.js | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 8ca4020..2337442 100644 --- a/src/main.js +++ b/src/main.js @@ -13,12 +13,18 @@ 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' +import '@components/plugin/PathDrag' +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