add
This commit is contained in:
parent
3f1227b579
commit
fdfa1cc698
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue