我的路线定义为:
path: 'geooperations',
component: GeoMetricsComponent,
children: [
{ path: ':idgeooperationmetrictype', component: DetailGeoMetricTypeComponent, outlet: 'geo' },
{ path: ':idgeooperationmetrictype/edit', component: DetailGeoMetricTypeComponent, outlet: 'geo' },
{ path: '/new', component: DetailGeoMetricTypeComponent, outlet: 'geo' }
]
示例: URL:geooperations/(geo:c56da64c-0ef5-4894-83ee-043818b44e14)
outlet : 'geo'
idgeooperationmetrictype: 'c56da64c-0ef5-4894-83ee-043818b44e14'
如何从 ActivatedRoute 获取“idgeooperationmetrictype”?