From 17de93255772734b15cce7a0c680a40d2ec5878c Mon Sep 17 00:00:00 2001 From: zhangshuaibao <15731629597@163.com> Date: 星期五, 09 四月 2021 09:43:43 +0800 Subject: [PATCH] echarts日数据折线图实现 --- 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