我遇到了使用 Angular 路由器导航返回页面时 ngOninit 没有触发的问题。
//this fires and goes to the /test/parent-route this.router.navigate(['/test/parent-route']
但是 ngOninit 不会在
parent-route