Angular routing keep child parameters
问题 I have the following route configuration: const routes: Routes = [ { path: '', component: HomeComponent, canActivate: [AuthGuard], children: [ { component: DashboardComponent, path: '' }, { component: UnitComponent, path: 'unit/:serialnumber', children: [ { path: '', redirectTo: 'realtime', pathMatch: 'full'}, { path: 'manager', component: UnitManagerComponent, canActivate: [SysAdminGuard] }, { path: 'realtime', component: UnitRealtimeComponent }, { path: 'history', component: