Commit 02d5abdf authored by liujiangnan's avatar liujiangnan

feat: 去掉最后一页弹框

parent 32311fc8
...@@ -621,6 +621,11 @@ export default class NewClass extends middleLayerBase { ...@@ -621,6 +621,11 @@ export default class NewClass extends middleLayerBase {
this.loadOnlineBundle('NJ_MonkyTree'); this.loadOnlineBundle('NJ_MonkyTree');
} }
} }
if (this.courseIndex === this.courses.length - 1) {
// 说明是最后一页
exit();
return;
}
this.showConfirm("还没有完成哦!确定离开吗?", () => { this.showConfirm("还没有完成哦!确定离开吗?", () => {
exit(); exit();
}); });
......
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