|
@@ -1153,10 +1153,12 @@ export default {
|
|
|
},
|
|
|
isLastVideo() {
|
|
|
try {
|
|
|
- let { sectionId, chapterId } = this.sectionItem;
|
|
|
+ let { sectionId, chapterId, courseId } = this.sectionItem;
|
|
|
let lastVideo = this.allSectionList.slice(-1)[0];
|
|
|
return (
|
|
|
- sectionId == lastVideo.sectionId && chapterId == lastVideo.chapterId
|
|
|
+ sectionId == lastVideo.sectionId &&
|
|
|
+ chapterId == lastVideo.chapterId &&
|
|
|
+ courseId == lastVideo.courseId
|
|
|
);
|
|
|
} catch (error) {
|
|
|
return false;
|