Commit 638311e3 authored by liujiangnan's avatar liujiangnan

debug

parent 6e83622e
...@@ -131,8 +131,9 @@ class PlayView { ...@@ -131,8 +131,9 @@ class PlayView {
_this.unlock = _this.curIndex; _this.unlock = _this.curIndex;
} }
if(_this.curIndex >= _this.data.videoArr.length){ if(_this.curIndex >= _this.data.videoArr.length-1){
// 视频都播放完了,显示下一页按钮 // 视频都播放完了,显示下一页按钮
console.log("=====视频都播放完了======")
window.courseware.nextPage(); window.courseware.nextPage();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment