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