From c886a80193293225707653cf7678a7518c07eeb9 Mon Sep 17 00:00:00 2001 From: "dong.ai" Date: Sun, 14 Sep 2025 21:30:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index c60bf53b..08d9a82d 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -212,7 +212,7 @@
- {{ course.teacherName }} + {{ course.authorInfo.name }} {{ formatNum(course.studyNum) }}人学习 { - console.log(res,'jinpinsjfhhfjash--------------------------'); + let courseIds = []; + res.data.result.forEach((item) => { + item.authorInfo = { + aid: "", + name: "", + orgInfo: "", + avatar: "", + code: "", + sex: null, + }; + courseIds.push(item.id); + }); + this.loadCouserTeacher(res.data.result, courseIds); + console.log(res.data.result,'--------------------------'); this.qusisityList.list = res.data.result; }) },