From 66823d876d7e6d02ed63338ea40dc4ff2f954807 Mon Sep 17 00:00:00 2001
From: linkeyu <798648091@qq.com>
Date: Sun, 26 Jul 2026 19:47:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E4=BF=AE=E5=A4=8D?=
=?UTF-8?q?=E4=BE=A7=E6=A0=8F=E6=BB=9A=E5=8A=A8=E4=B8=8E=E6=9D=83=E9=99=90?=
=?UTF-8?q?=E7=AE=A1=E7=90=86=E4=BD=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/(main)/layout.tsx | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/app/(main)/layout.tsx b/src/app/(main)/layout.tsx
index b63fdc5..389f232 100644
--- a/src/app/(main)/layout.tsx
+++ b/src/app/(main)/layout.tsx
@@ -91,6 +91,7 @@ const NAV_GROUPS: NavGroup[] = [
{ key: '/users', icon: , label: '用户管理' },
],
},
+ { key: '/admins', icon: , label: '权限管理' },
{
key: 'monitoring-audit',
icon: ,
@@ -103,7 +104,6 @@ const NAV_GROUPS: NavGroup[] = [
{ key: '/audit-logs', icon: , label: '审计日志' },
],
},
- { key: '/admins', icon: , label: '权限管理' },
];
// 导航项 key(/dashboard)→ 权限页 key(dashboard),与后端 permissions.py 目录对齐
@@ -223,8 +223,7 @@ export default function MainLayout({ children }: { children: React.ReactNode })
position: 'sticky',
top: 0,
height: '100vh',
- overflowY: 'auto',
- overflowX: 'hidden',
+ overflow: 'hidden',
}}
>