|
@@ -189,7 +189,7 @@ export default defineComponent({
|
|
|
? n.audioPlayTypes.split(',')
|
|
|
: [];
|
|
|
n.url =
|
|
|
- n.coverImg || n.type === 'SONG'
|
|
|
+ n.type === 'SONG'
|
|
|
? 'https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png'
|
|
|
: n.type === 'PPT'
|
|
|
? 'https://oss.dayaedu.com/ktqy/12/1701931810284.png'
|
|
@@ -201,6 +201,7 @@ export default defineComponent({
|
|
|
});
|
|
|
}
|
|
|
});
|
|
|
+ console.log(courseList, 'courseList');
|
|
|
data.zsdId = knowledgeList?.[0].id;
|
|
|
activeData.lessonCoursewareDetailId =
|
|
|
currentCourse.lessonCoursewareDetailId;
|
|
@@ -332,7 +333,9 @@ export default defineComponent({
|
|
|
});
|
|
|
}
|
|
|
// 返回数据进行排序
|
|
|
- data.formatCourseList = formatList.sort((a: any, b: any) => b.year - a.year);
|
|
|
+ data.formatCourseList = formatList.sort(
|
|
|
+ (a: any, b: any) => b.year - a.year
|
|
|
+ );
|
|
|
}
|
|
|
} catch (e) {
|
|
|
//
|