this.router.navigate([`/ myPage / ${this.Id}`],{relativeTo:this.route});
至:
this.router.navigate([`/ myPage / ${this.Id}`],{relativeTo:this.route,skipLocationChange:true});
this.router.navigate([`/ myPage / ${this.Id}`],{relativeTo:this.route});
至:
this.router.navigate([`/ myPage / ${this.Id}`],{relativeTo:this.route,skipLocationChange:true});
本文标题:Angular 2:阻止路由器添加到历史记录
本文链接:https://www.haomeiwen.com/subject/wszyjqtx.html
网友评论