fix: 系统管理菜单开放给SUPERVISOR, 补全审计日志路由
This commit is contained in:
@ -299,10 +299,9 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
meta: {
|
meta: {
|
||||||
title: '权限分配',
|
title: '权限分配',
|
||||||
icon: 'Lock',
|
icon: 'Lock',
|
||||||
roles: ['SUPER_ADMIN']
|
roles: ['SUPER_ADMIN', 'SUPERVISOR']
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// [新增] 审计日志页面,只有超级管理员可进
|
|
||||||
{
|
{
|
||||||
path: 'audit',
|
path: 'audit',
|
||||||
name: 'AuditLog',
|
name: 'AuditLog',
|
||||||
@ -310,7 +309,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||||||
meta: {
|
meta: {
|
||||||
title: '审计日志',
|
title: '审计日志',
|
||||||
icon: 'Document',
|
icon: 'Document',
|
||||||
roles: ['SUPER_ADMIN']
|
roles: ['SUPER_ADMIN', 'SUPERVISOR']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user