feat:新增页面切换时删除告警点位
parent
15165f96fa
commit
5f89bf6a85
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue