From 509cc4618a091a03d64d9985c0f1b74afd0fd3ff Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期四, 22 四月 2021 14:44:21 +0800
Subject: [PATCH] 排水修改

---
 src/Sgis.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/Sgis.js b/src/Sgis.js
index d46bfc2..fda9cf2 100644
--- a/src/Sgis.js
+++ b/src/Sgis.js
@@ -1,6 +1,4 @@
-
 // 鍒濆鍖栨樉绀�
-
 import MapConfig from '@/conf/MapConfig'
 import '@components/plugin/PathDashFlow' // 娴佸姩绾垮浘
 import DownLoad from '@components/plugin/DownLoad'
@@ -18,6 +16,10 @@
 import '@components/plugin/pulse/Pulse.css' // marker 澶栧湀娉� css
 import BasemapHelper from '@components/helpers/BasemapHelper'
 import VectorLayerHelper from '@components/helpers/VectorLayerHelper'
+
+// import eventBus from '@/eventBus'
+import eventBus from './eventBus'
+
 let map = null
 const L = window.L
 const initMap = (div, mapOption) => {
@@ -32,6 +34,8 @@
     console.log(event, a, b)
   })
 
+  eventBus.$emit('map-obj', map)
+
   window.map = map
   window.L = L
 

--
Gitblit v1.8.0