From 7335dd4eba0ac20a808188ba1c77724df7fe99be Mon Sep 17 00:00:00 2001 From: "dong.ai" Date: Mon, 15 Sep 2025 13:45:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=95=99=E5=B8=88=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/Index.vue b/src/views/Index.vue index 08d9a82d..68741bb7 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -1578,7 +1578,7 @@ export default { code: "", sex: null, }; - courseIds.push(item.id); + courseIds.push(item.courseId); }); this.loadCouserTeacher(res.data.result, courseIds); console.log(res.data.result,'--------------------------'); @@ -1784,7 +1784,7 @@ export default { let userIds = []; list.forEach((item, index) => { cres.result.some((courseTeahcer) => { - if (courseTeahcer.courseId == item.id) { + if (courseTeahcer.courseId == (item.id||item.courseId)) { if (courseTeahcer.teacherIds) { userIds.push(courseTeahcer.teacherIds[0]); item.authorInfo.aid = courseTeahcer.teacherIds[0];