How to stop ngOnInit shooting on route change?

后端 未结 0 1134
离开以前
离开以前 2021-01-21 17:12

I have this kind of implementation of routing in my website:

  {
    path: \'home\',
    component: CabinetComponent,
    canActivate: [PrivateRouterGuard],
    d         


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