Router navigating to a different path doesn't trigger ngOnInit Angular

前端 未结 0 1611
滥情空心
滥情空心 2020-12-12 06:00

After a click of a button, I am routing a user to a different path than my current one, but the ngOnInit of the component, towards which I am routing, doesn\'t trigger.

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