setInterval keeps running after ngDestroy and route change in Ionic 5

后端 未结 0 1470
暖寄归人
暖寄归人 2021-02-05 01:05

I have a modal (page) with this following functions:

  private countdownTime : number = 20;
  private logoutCountdown : any;

  ngOnInit() {
    this.startLogout(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题