摘要: 1.以根路由跳转/login this.router.navigate(['login']); 2.设置relativeTo相对当前路由跳转,route是ActivatedRoute的实例,使用需要导入ActivatedRoute this.router.navigate(['login', 1], 阅读全文
posted @ 2020-06-18 08:48 到货 阅读(499) 评论(0) 推荐(0) 编辑