diff --git a/src/views/sponeScreen/HaiMianScreen/index.vue b/src/views/sponeScreen/HaiMianScreen/index.vue index e81aac9..1707a00 100644 --- a/src/views/sponeScreen/HaiMianScreen/index.vue +++ b/src/views/sponeScreen/HaiMianScreen/index.vue @@ -178,7 +178,7 @@ { name: '排水防涝', id: 4 }, { name: '长效运维', id: 5 }, ]); -const menuIndex = ref(3); +const menuIndex = ref(1); const showPanel = ref(false); const showLegend = ref(false); const showPipe = ref(false); diff --git a/src/views/sponeScreen/HaiMianScreen/index.vue b/src/views/sponeScreen/HaiMianScreen/index.vue index e81aac9..1707a00 100644 --- a/src/views/sponeScreen/HaiMianScreen/index.vue +++ b/src/views/sponeScreen/HaiMianScreen/index.vue @@ -178,7 +178,7 @@ { name: '排水防涝', id: 4 }, { name: '长效运维', id: 5 }, ]); -const menuIndex = ref(3); +const menuIndex = ref(1); const showPanel = ref(false); const showLegend = ref(false); const showPipe = ref(false); diff --git a/src/views/sponeScreen/evaluationKH/index.vue b/src/views/sponeScreen/evaluationKH/index.vue index e189d13..38c75a7 100644 --- a/src/views/sponeScreen/evaluationKH/index.vue +++ b/src/views/sponeScreen/evaluationKH/index.vue @@ -77,6 +77,11 @@ }); }); } + if (newfiberMapbox.map.getLayer('waterLoging')) { + newfiberMapbox.map.removeLayer('waterLoging'); + newfiberMapbox.map.removeSource('waterLoging'); + } + // 内涝防治标准 bus.emit('setIniteLayer', [{ layername: 'cesiumPaishuiArea2', show: true }]); };