diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index e6820de..29d8ac6 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -240,7 +240,7 @@ dw3: '套', }, ]; - bus.emit('FxVisible', riskData); + bus.emit('clearAllLayer'); bus.emit('SetLayerShow', ['燃气视角']); } else if (activedname.value == '排水') { @@ -258,7 +258,7 @@ dw3: '套', }, ]; - bus.emit('FxVisible', riskData); + bus.emit('clearAllLayer'); bus.emit('SetLayerShow', ['雨水管网', '综合视角']); } else if (activedname.value == '桥梁') { @@ -276,7 +276,7 @@ dw3: '套', }, ]; - bus.emit('FxVisible', riskData); + bus.emit('clearAllLayer'); bus.emit('SetLayerShow', ['仿真地图', '桥梁视角']); } else { @@ -294,7 +294,7 @@ dw3: '套', }, ]; - bus.emit('FxVisible', riskData); + bus.emit('clearAllLayer'); bus.emit('SetLayerShow', ['仿真地图', '隧道视角']); } @@ -310,7 +310,6 @@ refresh.value = Math.random(); } onMounted(() => { - bus.emit('FxVisible', riskData.value); GetgetFacilities(); });