显示 Angular Material 对话框以防止未保存的表单更改
原文英文,约100词,阅读约需1分钟。发表于: 。Angular material's dialog's afterClosed method returns an Observables. This makes them work great with canDeactivate route guards for unsaved changes in forms:
Angular Material 的对话框的 afterClosed 方法返回一个 Observable,非常适合与 canDeactivate 路由守卫结合使用,以处理未保存的表单更改。