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