feat:新增菜单修改时关闭火焰

wuyanfu
吴延福 2023-05-18 15:33:50 +08:00
parent 7f3ba6f65e
commit c5a3e310cc
1 changed files with 5 additions and 0 deletions

View File

@ -88,6 +88,11 @@ export default class OverViewComponent extends BaseComponent {
this.currentNav = data; this.currentNav = data;
if(this.player){ if(this.player){
this.currentLayers = this.getCurrentLayers() this.currentLayers = this.getCurrentLayers()
if(this.currentEvent ){
this.viewLayer[this.currentEvent.id].selected = false;
this.addCustom(this.viewLayer[this.currentEvent.id],true);
this.currentEvent = null;
}
this.resetMap(); this.resetMap();
} }
console.log('当前点击导航', data) console.log('当前点击导航', data)