This commit is contained in:
Taric Xin
2022-05-05 13:36:54 +08:00
parent 58e16934e9
commit bede7b0f34

View File

@ -66,8 +66,7 @@ const routes: Routes = [
{ {
path: 'channel-sales', path: 'channel-sales',
children: [ children: [
{ path: '', component: ParterChannelSalesListComponent, { path: '', component: ParterChannelSalesListComponent, data: { guard: { ability: ['channelSales-search'] } } },
data: { guard: { ability: ['channelSales-search'] } } },
{ path: 'list', component: ParterChannelSalesListComponent }, { path: 'list', component: ParterChannelSalesListComponent },
{ path: 'edit', component: ParterChannelSalesEditComponent } { path: 'edit', component: ParterChannelSalesEditComponent }
] ]
@ -75,10 +74,8 @@ const routes: Routes = [
{ {
path: 'level-config', path: 'level-config',
children: [ children: [
{ path: '', component: ParterLevelConfigListComponent, { path: '', component: ParterLevelConfigListComponent, data: { guard: { ability: ['LevelConfig-search'] } } },
data: { guard: { ability: ['LevelConfig-search'] } } }, { path: 'list', component: ParterLevelConfigListComponent, data: { guard: { ability: ['LevelConfig-search'] } } },
{ path: 'list', component: ParterLevelConfigListComponent ,
data: { guard: { ability: ['LevelConfig-search'] } } },
{ path: 'edit', component: ParterLevelConfigEditComponent } { path: 'edit', component: ParterLevelConfigEditComponent }
] ]
}, },
@ -154,7 +151,7 @@ const routes: Routes = [
{ {
path: 'scrollimg', path: 'scrollimg',
children: [ children: [
{ path: '', component: ScrollImgComponentsListComponent }, { path: '', component: ScrollImgComponentsListComponent, data: { guard: { ability: ['scrollimg-search'] } } },
{ path: 'list', component: ScrollImgComponentsListComponent, data: { guard: { ability: ['scrollimg-search'] } } }, { path: 'list', component: ScrollImgComponentsListComponent, data: { guard: { ability: ['scrollimg-search'] } } },
{ path: 'detail', component: ScrollimgComponentsAddComponent } { path: 'detail', component: ScrollimgComponentsAddComponent }
] ]