From a12d0aa6ff3098a679078b43683641f987b02b73 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Oct 2022 17:32:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A5=BF=E6=B5=B7=E5=B2=B8=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E9=80=89=E4=B8=ADbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/supermap/advance-init.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/front/src/supermap/advance-init.js b/front/src/supermap/advance-init.js index effa837d..d9cc00c5 100644 --- a/front/src/supermap/advance-init.js +++ b/front/src/supermap/advance-init.js @@ -1676,9 +1676,7 @@ export function MapFun(mapObj) { // } //_removeLayerByLayerName(layerName) - let clickReplaceIcon = true; let selectedLayerList = []; - let selectedLayerId = []; let layers = null; // 判断是否是聚合图层 layers = createMarkerClusterLayer() @@ -1755,7 +1753,8 @@ export function MapFun(mapObj) { }); } } - mybus.emit('pointMarkerClick', feature) + mybus.emit('pointMarkerClick', feature); + selectedLayerList = []; }) layers.addLayer(marker) }