fix(router): 移除路由中不必要的secondCommon角色权限

简化路由权限配置,移除不再使用的secondCommon角色,保持权限系统简洁
This commit is contained in:
34701892@qq.com 2025-09-27 10:33:18 +08:00
parent 5ad6da1d09
commit 664eec8298
1 changed files with 2 additions and 2 deletions

View File

@ -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'],
},
},
{