From cba6aa3432039cccead2d392c72178feb1d08875 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A6=BA=E7=8B=A8?= <18119604035@163.com> Date: Fri, 30 Jun 2023 16:05:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E8=AF=A6=E6=83=85=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/course/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/course/index.tsx b/src/pages/course/index.tsx index f116a7c..a1a1fbe 100644 --- a/src/pages/course/index.tsx +++ b/src/pages/course/index.tsx @@ -61,8 +61,10 @@ const CoursePage = () => {
已学完课时{" "} - {learnRecord ? learnRecord.finished_count : 0} /{" "} - {course.class_hour} + + {learnRecord ? learnRecord.finished_count || 0 : 0} + {" "} + / {course.class_hour}
{course.is_required === 1 && (
必修课