From bede7b0f34336f72e01a83174f1679fbb35d7cf0 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Thu, 5 May 2022 13:36:54 +0800 Subject: [PATCH] UI --- src/app/routes/partner/partner-routing.module.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/app/routes/partner/partner-routing.module.ts b/src/app/routes/partner/partner-routing.module.ts index f52f310b..eefdeb5d 100644 --- a/src/app/routes/partner/partner-routing.module.ts +++ b/src/app/routes/partner/partner-routing.module.ts @@ -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 } ]