Closed teacherpan closed 3 years ago
发送
reload(): void { this.router.navigate(['./'], { relativeTo: this.route, queryParams: this.queryParams }).then(); }
接收
this.route.queryParams.subscribe((params: { page?: string, size?: string }) => { // 复制查询参数 this.queryParams = {...params};
发送
接收