diff --git a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue index 6cc0bd8c2..cc8e72e7c 100644 --- a/src/jmapNew/theme/haerbin_01/menus/menuButton.vue +++ b/src/jmapNew/theme/haerbin_01/menus/menuButton.vue @@ -249,6 +249,7 @@ export default { }, handleSwicthMenu() { // 转换底部道岔菜单栏 // 获取道岔相关区段显示高亮 + this.clearAllMenuShow(); const section = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionParentCode); const sectionA = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionACode); // 获取道岔相关的道岔计轴区段 const sectionB = this.$store.getters['map/getDeviceByCode'](this.selectedObj.sectionBCode); @@ -274,6 +275,7 @@ export default { }; }, handleSingalMenu() { + this.clearAllMenuShow(); this.deviceHighLight(this.oldDevice, false); this.deviceHighLight(this.selectedObj, true); this.oldDevice = this.selectedObj; @@ -351,6 +353,7 @@ export default { } }, handleSectionMenu() { + this.clearAllMenuShow(); this.deviceHighLight(this.oldDevice, false); this.deviceHighLight(this.selectedObj, true); this.oldDevice = this.selectedObj; @@ -386,6 +389,7 @@ export default { }; }, handleStationMenu() { + this.clearAllMenuShow(); this.centralizedStationList = new Array(15).fill({}); this.stationParamList.forEach((station, index) => { this.centralizedStationList[index] = station; @@ -398,6 +402,7 @@ export default { this.param = { stationCode: this.selectedObj.code }; }, handleStandMenu() { + this.clearAllMenuShow(); this.centralizedStationList = new Array(15).fill({}); this.standParamList.forEach((stand, index) => { this.centralizedStationList[index] = stand;