|
@@ -720,11 +720,6 @@ export default {
|
|
|
sectionId == sectionId1
|
|
|
);
|
|
|
},
|
|
|
- backList(courseId, projectId) {
|
|
|
- return projectId
|
|
|
- ? this.treeList
|
|
|
- : this.treeList.find((e) => e.courseId == courseId).list;
|
|
|
- },
|
|
|
// 自动播放下一个视频
|
|
|
async playNextVideo(sectionItem = this.sectionItem) {
|
|
|
let { menuId, parent, courseId, projectId } = sectionItem;
|
|
@@ -773,7 +768,11 @@ export default {
|
|
|
return this.backNextItem(nextItem, nextItem.menuType, isNext);
|
|
|
},
|
|
|
async getResource(section, type, courseIndex) {
|
|
|
- if (section.type != 2 && this.isActive(section)) {
|
|
|
+ if (
|
|
|
+ section.type != 2 &&
|
|
|
+ this.isActive(section) &&
|
|
|
+ section.sectionType != 3
|
|
|
+ ) {
|
|
|
return;
|
|
|
}
|
|
|
if (!(await this.orderTopTobottom(section, type, courseIndex))) {
|