Browse Source

释放应急预案

dev
陈鹏飞 3 years ago
parent
commit
ed324c77a4
  1. 3
      src/app/pages/plan/plan.component.ts

3
src/app/pages/plan/plan.component.ts

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

Loading…
Cancel
Save