From 00b89e4c17c3d34301be0bd51604b0c29ed77c3a Mon Sep 17 00:00:00 2001
From: seatonwan9 <seatonwan9@163.com>
Date: 星期五, 28 五月 2021 09:27:17 +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