1、如题,获取到http://at.worktile.local:18000/flow/rules/5e6c4e6efc77b97260ff6150/overview中的id
ngOnInit() { const ruleDetailRoute = this.activatedRoute.pathFromRoot .find(ele => (ele.component as Type<any>).name === 'RuleDetailComponent'); ruleDetailRoute.params.subscribe((params: Params) => this.ruleId = params.ruleId); }