标签: angular angular2-routing
想要将我的Angular2应用程序的SkipLocationChange设置为true。 怎么样?例如,某个应用可能会多次调用router.navigate
router.navigate
this.router.navigate(['/path', arg], {skipLocationChange:true})
也许有50次调用router.navigate,这需要将此选项skipLocationChange:true焊接50次......
skipLocationChange:true