我有以下路线定义:
export const AppRoutes = RouterModule.forRoot([
{
path: '',
canActivate: [AuthGuardService],
component: HomeComponent,
children: [
{
path: 'child1',
component: Child1Component
},
]
},
]);
child1
路由会从其父级继承canActivate防护吗?