mirror of
https://github.com/PlayEdu/backend
synced 2025-06-29 22:52:49 +08:00
左侧菜单和右上角管理员模块优化
This commit is contained in:
parent
a4572ba563
commit
c3d387be26
@ -42,7 +42,7 @@ export const Header: React.FC = () => {
|
|||||||
<Button.Group className={styles["button-group"]}>
|
<Button.Group className={styles["button-group"]}>
|
||||||
<Dropdown menu={{ items, onClick }} placement="bottomRight">
|
<Dropdown menu={{ items, onClick }} placement="bottomRight">
|
||||||
<div className="d-flex">
|
<div className="d-flex">
|
||||||
{user && <img style={{ width: 30, height: 30 }} src={avatar} />}
|
{user.name && <img style={{ width: 30, height: 30 }} src={avatar} />}
|
||||||
<Button type="link">
|
<Button type="link">
|
||||||
<span className="c-default">{user.name}</span>
|
<span className="c-default">{user.name}</span>
|
||||||
</Button>
|
</Button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user