This commit is contained in:
ditiqi 2025-02-27 17:02:24 +08:00
parent 3f1227b579
commit fdfa1cc698
1 changed files with 1 additions and 8 deletions

View File

@ -86,7 +86,7 @@ export function UserMenu() {
setModalOpen(true); setModalOpen(true);
}, },
}, },
canManageAnyStaff && { canManageAnyStaff && {
icon: <SettingOutlined className="text-lg" />, icon: <SettingOutlined className="text-lg" />,
label: "设置", label: "设置",
@ -159,13 +159,6 @@ export function UserMenu() {
aria-hidden="true" aria-hidden="true"
/> />
</div> </div>
{/* 用户信息,显示在 Avatar 右侧 */}
<div className="flex flex-col space-y-0.5 ml-3 items-start">
<span className="text-base text-primary flex items-center gap-1.5">
{user?.showname || user?.username}
</span>
</div>
</motion.button> </motion.button>
<AnimatePresence> <AnimatePresence>