From 842b7b1550356b4f3f0b5d4b30706a941908f946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Tue, 28 Mar 2023 14:11:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=96=87=E6=A1=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=92=8C=E4=B8=8A=E4=BC=A0=E5=A4=B4=E5=83=8F=E4=B8=8D?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E6=8F=90=E7=A4=BA=E6=88=90=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/compenents/user-info/index.tsx | 1 - src/pages/index/index.tsx | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/compenents/user-info/index.tsx b/src/compenents/user-info/index.tsx index 23e79ad..763d1e6 100644 --- a/src/compenents/user-info/index.tsx +++ b/src/compenents/user-info/index.tsx @@ -57,7 +57,6 @@ export const UserInfoModel: React.FC = ({ 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); diff --git a/src/pages/index/index.tsx b/src/pages/index/index.tsx index dc296c4..5d3d3b3 100644 --- a/src/pages/index/index.tsx +++ b/src/pages/index/index.tsx @@ -111,17 +111,17 @@ const IndexPage = () => {
- 我的课程 + 课程进度
- 必修课:已完成 + 必修课:已完成课时 {stats.required_finished_hour_count || 0} / {stats.required_hour_count || 0}
{stats.nun_required_hour_count > 0 && (
- 选修课:已完成 + 选修课:已完成课时 {stats.nun_required_finished_hour_count || 0} / {stats.nun_required_hour_count || 0}