From 6a0a093dba38d4c9e819a45a70aec8e340da9ca0 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期三, 31 三月 2021 19:28:30 +0800 Subject: [PATCH] 图表不显示问题 --- src/main.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 8ca4020..4c254ad 100644 --- a/src/main.js +++ b/src/main.js @@ -13,12 +13,17 @@ 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 +window.Vue = Vue // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0