有时候需要模拟用户刷新操作,只是为了效果,不做改变 方法一 document.documentElement.scrollTop = 0; 方法二 this.router.navigate(['/about/profile'], { queryParams: {refresh: new Date().getTime()} });