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" && 场站管理员} + +