From 9207a916b6fcd184f2d49e616084ff9a6e78a9dc Mon Sep 17 00:00:00 2001 From: XingChuan <m17600301067@163.com> Date: 星期四, 27 五月 2021 15:20:43 +0800 Subject: [PATCH] 所有报表数据提取出来并更换数据请求方式 --- src/main.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 2d3203a..621ab68 100644 --- a/src/main.js +++ b/src/main.js @@ -18,6 +18,9 @@ import '@components/plugin/leaflet-measure-path/leaflet-measure-path.css' import '@components/plugin/leaflet-measure-path/leaflet-measure-path' import '@components/plugin/PathDrag' +// import '@components/plugin/flowline' + +import layer from './components/layer' const appConfig = require('@/app.config') Vue.config.productionTip = false @@ -26,7 +29,9 @@ Vue.prototype.L = L Vue.prototype.$config = appConfig Vue.prototype.$echarts = echarts // 鎸傝浇echarts +window.echarts = echarts window.Vue = Vue +window.$layer = layer(Vue) // 娉ㄥ唽鎸囦护7 // registerDirectives(Vue) -- Gitblit v1.8.0