fix(router): 移除路由中不必要的secondCommon角色权限
简化路由权限配置,移除不再使用的secondCommon角色,保持权限系统简洁
This commit is contained in:
parent
5ad6da1d09
commit
664eec8298
|
|
@ -278,7 +278,7 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
|
|||
isKeepAlive: true,
|
||||
isAffix: true,
|
||||
isIframe: false,
|
||||
roles: ['common', 'secondCommon'],
|
||||
roles: ['common'],
|
||||
icon: 'ele-Document',
|
||||
},
|
||||
children: [
|
||||
|
|
@ -293,7 +293,7 @@ export const dynamicRoutes: Array<RouteRecordRaw> = [
|
|||
isKeepAlive: true,
|
||||
isAffix: true,
|
||||
isIframe: false,
|
||||
roles: ['admin', 'common', 'secondCommon'],
|
||||
roles: ['admin', 'common'],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue