|
@@ -3228,8 +3228,7 @@ export default {
|
|
|
isLastVideo() {
|
|
|
try {
|
|
|
let { sectionId, chapterId } = this.sectionItem;
|
|
|
- let _m = this.menuList;
|
|
|
- let lastVideo = _m.slice(-1)[0].list.slice(-1)[0].list.slice(-1)[0];
|
|
|
+ let lastVideo =this.allVideoList.slice(-1)[0];
|
|
|
return (
|
|
|
sectionId == lastVideo.sectionId && chapterId == lastVideo.chapterId
|
|
|
);
|