diff --git a/inventory-web/src/router/index.ts b/inventory-web/src/router/index.ts index 3808be9..0205e24 100644 --- a/inventory-web/src/router/index.ts +++ b/inventory-web/src/router/index.ts @@ -209,6 +209,17 @@ const routes: Array = [ icon: 'Lock', roles: ['SUPER_ADMIN'] } + }, + // [新增] 审计日志页面,只有超级管理员可进 + { + path: 'audit', + name: 'AuditLog', + component: () => import('@/views/system/AuditLog.vue'), + meta: { + title: '审计日志', + icon: 'Document', + roles: ['SUPER_ADMIN'] + } } ] },