angular 当前页面跳转当前页面只是参数不一样 不刷新问题

this.router.navigateByUrl('', {skipLocationChange: true}).then(() => {
    this.router.navigate([url + '/' + id, {tabIndex: 1}]);
});
posted @ 2022-10-30 23:21  寒小韩  阅读(230)  评论(0编辑  收藏  举报