From ad9c4fbf43e6b58e0019e04878ad0935ae811b8d Mon Sep 17 00:00:00 2001 From: 陈泽平 <chenzeping> Date: 星期一, 31 五月 2021 10:28:20 +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