mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-07-22 23:35:54 +08:00
首页文案修改和上传头像不需要提示成功
This commit is contained in:
parent
0b567866e0
commit
842b7b1550
@ -57,7 +57,6 @@ export const UserInfoModel: React.FC<PropInterface> = ({ open, onCancel }) => {
|
||||
const { status, response } = info.file;
|
||||
if (status === "done") {
|
||||
if (response.code === 0) {
|
||||
message.success(`${info.file.name} 上传成功`);
|
||||
getUser();
|
||||
} else {
|
||||
message.error(response.msg);
|
||||
|
@ -111,17 +111,17 @@ const IndexPage = () => {
|
||||
<div className={styles["top-item"]}>
|
||||
<div className={styles["title"]}>
|
||||
<img className={styles["icon"]} src={myLesoon} />
|
||||
<span>我的课程</span>
|
||||
<span>课程进度</span>
|
||||
</div>
|
||||
<div className={styles["info"]}>
|
||||
<div className={styles["info-item"]}>
|
||||
<span>必修课:已完成</span>
|
||||
<span>必修课:已完成课时</span>
|
||||
<strong> {stats.required_finished_hour_count || 0} </strong>
|
||||
<span>/ {stats.required_hour_count || 0}</span>
|
||||
</div>
|
||||
{stats.nun_required_hour_count > 0 && (
|
||||
<div className={styles["info-item"]}>
|
||||
<span>选修课:已完成</span>
|
||||
<span>选修课:已完成课时</span>
|
||||
<strong> {stats.nun_required_finished_hour_count || 0} </strong>
|
||||
<span>/ {stats.nun_required_hour_count || 0}</span>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user