From 0c822938f084e0277a7bdfb79fbfa3098973ee23 Mon Sep 17 00:00:00 2001 From: yueli Date: Wed, 15 Jul 2026 09:22:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=BC=80=E6=94=BE=E7=BB=99SUPERVISOR,=20?= =?UTF-8?q?=E8=A1=A5=E5=85=A8=E5=AE=A1=E8=AE=A1=E6=97=A5=E5=BF=97=E8=B7=AF?= =?UTF-8?q?=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-web/src/router/index.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/inventory-web/src/router/index.ts b/inventory-web/src/router/index.ts index 861b863..a4ba329 100644 --- a/inventory-web/src/router/index.ts +++ b/inventory-web/src/router/index.ts @@ -299,10 +299,9 @@ const routes: Array = [ meta: { title: '权限分配', icon: 'Lock', - roles: ['SUPER_ADMIN'] + roles: ['SUPER_ADMIN', 'SUPERVISOR'] } }, - // [新增] 审计日志页面,只有超级管理员可进 { path: 'audit', name: 'AuditLog', @@ -310,7 +309,7 @@ const routes: Array = [ meta: { title: '审计日志', icon: 'Document', - roles: ['SUPER_ADMIN'] + roles: ['SUPER_ADMIN', 'SUPERVISOR'] } } ]