Angular 2: NavigationCancel - Navigation ID 2 is not equal to the current navigation id 3

一个人想着一个人 提交于 2019-12-03 09:48:16

I got this error because I was calling router.navigate twice in quick succession, (1 to append queryParams, 1 to append a fragment) so had to refactor my code to only call navigate once.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!