From 38ef8cb7cefcd4b308bdefa164fb01ccbd6a0a81 Mon Sep 17 00:00:00 2001 From: chenzeping <ChenZeping02609@163.com> Date: 星期日, 25 四月 2021 16:57:58 +0800 Subject: [PATCH] 废水废气图表数据弹框相关修改 --- src/Sgis.js | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/Sgis.js b/src/Sgis.js index fda9cf2..d74d329 100644 --- a/src/Sgis.js +++ b/src/Sgis.js @@ -1,7 +1,7 @@ // 鍒濆鍖栨樉绀� -import MapConfig from '@/conf/MapConfig' +import MapConfig from './conf/MapConfig' import '@components/plugin/PathDashFlow' // 娴佸姩绾垮浘 -import DownLoad from '@components/plugin/DownLoad' +import DownLoad from './components/plugin/DownLoad' // 娴嬮噺 import '@components/plugin/leaflet-measure-path/leaflet-measure-path' @@ -14,11 +14,9 @@ import '@/components/plugin/magicMarker.css' import '@components/plugin/pulse/Pulse' // marker 澶栧湀娉� 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' +import BasemapHelper from './components/helpers/BasemapHelper' +import VectorLayerHelper from './components/helpers/VectorLayerHelper' +// import eventBus from './eventBus' let map = null const L = window.L @@ -34,7 +32,7 @@ console.log(event, a, b) }) - eventBus.$emit('map-obj', map) + // eventBus.$emit('map-obj', map) window.map = map window.L = L -- Gitblit v1.8.0