From 9212b45ece29a6f83d2a518b39d6e53537a00b2b Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Mon, 31 Aug 2026 14:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=B0=E5=9B=BE=E4=B8=AD?= =?UTF-8?q?=20=20=E9=BC=A0=E6=A0=87=E6=82=AC=E6=B5=AE=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=9C=BA=E5=99=A8=20=20=20=20=E4=BC=98=E5=8C=96=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=99=BB=E5=BD=95=E7=94=A8=E7=94=A8=E6=88=B7=E7=9A=84?= =?UTF-8?q?=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Layout.tsx | 5 +++++ src/components/Map.jsx | 32 +++++++++++++++++++++----------- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index feb1fdd..360d6f4 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -239,6 +239,11 @@ export default function AppLayout() { /> )} {userInfo?.nickName || userInfo?.username} + {userInfo?.roleKey === "admin" && 管理员} + {userInfo?.roleKey === "manager" && 组织管理员} + {userInfo?.roleKey === "siteManager" && 场站管理员} + +