mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-24 00:49:45 +08:00
课程详情初步
This commit is contained in:
@@ -9,6 +9,7 @@ export const Footer: React.FC = () => {
|
||||
backgroundColor: "#333333",
|
||||
height: 90,
|
||||
textAlign: "center",
|
||||
marginTop: 80,
|
||||
}}
|
||||
>
|
||||
<i
|
||||
|
||||
@@ -92,7 +92,7 @@ export const Header: React.FC = () => {
|
||||
<Button.Group className={styles["button-group"]}>
|
||||
<Dropdown menu={{ items, onClick }} placement="bottomRight">
|
||||
<div className="d-flex">
|
||||
{user.name && (
|
||||
{user && user.name && (
|
||||
<img
|
||||
style={{ width: 36, height: 36, borderRadius: "50%" }}
|
||||
src={user.avatar}
|
||||
|
||||
Reference in New Issue
Block a user