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;
})
},