From 3f77be1e80a1412cb4d7982b51278df64a117a86 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 27 Oct 2022 13:49:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HomePage/courseList.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/HomePage/courseList.vue b/src/components/HomePage/courseList.vue index e6a4baca..21ba2578 100644 --- a/src/components/HomePage/courseList.vue +++ b/src/components/HomePage/courseList.vue @@ -11,10 +11,10 @@

-
+
-
+
{{item.info.name || item.contentInfo}} {{toScore(item.info.lastScore)}}分

{{item.info.summary}}

当前进度:
@@ -26,7 +26,7 @@ 隐藏
- {{item.aid == userInfo.aid? '继续学习' : '我也去学'}} + {{item.aid == userInfo.aid? '继续学习' : '我也去学'}}
@@ -84,10 +84,10 @@ this.$emit('hideIndex',id) }, jumpDetail(data) { - if(!data.courseId){ + if(!data.contentId){ return; } - this.$router.push({ path: '/course/detail?id=', query: { id: data.courseId } }); + this.$router.push({ path: '/course/detail?id=', query: { id: data.contentId } }); } } }