From fdfa1cc698cacd1448d5cb9a7732fc9fedb55870 Mon Sep 17 00:00:00 2001 From: ditiqi Date: Thu, 27 Feb 2025 17:02:24 +0800 Subject: [PATCH] add --- apps/web/src/app/main/layout/UserMenu/UserMenu.tsx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/web/src/app/main/layout/UserMenu/UserMenu.tsx b/apps/web/src/app/main/layout/UserMenu/UserMenu.tsx index 17c3413..fc63758 100755 --- a/apps/web/src/app/main/layout/UserMenu/UserMenu.tsx +++ b/apps/web/src/app/main/layout/UserMenu/UserMenu.tsx @@ -86,7 +86,7 @@ export function UserMenu() { setModalOpen(true); }, }, - + canManageAnyStaff && { icon: , label: "设置", @@ -159,13 +159,6 @@ export function UserMenu() { aria-hidden="true" /> - - {/* 用户信息,显示在 Avatar 右侧 */} -
- - {user?.showname || user?.username} - -