2017-08-31 1 views

答えて

2

私はあなたがコンポーネントにナビゲートするときにドキュメントごとに、replaceUrl: trueを渡す必要がありhttps://angular.io/api/router/NavigationExtras#replaceUrl

に見て必要があると思う:

Navigates while replacing the current state in history. 

// Navigate to /view 
this.router.navigate(['/view'], { replaceUrl: true }); 
関連する問題