diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index eb8bf5e..bb0fc75 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -240,6 +240,11 @@ export default function AppLayout() { /> )} {userInfo?.nickName || userInfo?.username} + {userInfo?.roleKey === "admin" && 管理员} + {userInfo?.roleKey === "manager" && 组织管理员} + {userInfo?.roleKey === "siteManager" && 场站管理员} + +