@ -154,6 +154,9 @@ export class PlanComponent implements OnInit {
}
ngOnDestroy(): void { //组件销毁前 销毁canvas
if (this.selectFence === 7) { //初始化 应急预案模块
this.initializePlan()
this.game.pauseRender();
this.game = null;