Angular 11 - @HostListener “window:beforeunload” is triggered twice

前端 未结 0 1427
被撕碎了的回忆
被撕碎了的回忆 2020-12-23 17:44

In my Angular 11 app, I am trying to implement a way to warn the user that there is unsaved data on the page.

For simplicity, let\'s consider that we only care when a

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