feat:新增页面切换时删除告警点位

wuyanfu
吴延福 2023-05-18 16:33:39 +08:00
parent 15165f96fa
commit 5f89bf6a85
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ export default class OverViewComponent extends BaseComponent {
this.addCustom(this.viewLayer[this.currentEvent.id],true); this.addCustom(this.viewLayer[this.currentEvent.id],true);
this.currentEvent = null; this.currentEvent = null;
} }
if(this.currentWanning){
this.player.api.customObject.delete(this.currentWanning.id)
}
this.resetMap(); this.resetMap();
} }
} }