【发布时间】:2021-05-29 12:53:30
【问题描述】:
<button color="dark" fill="outline" [routerLink]="['/home']" size="medium"
>Click here to add some</button>
我应该如何像在 TS 文件中那样传递替换 URL 选项
await this.router.navigate(['/profile'], { replaceUrl: true });
【问题讨论】: