Commit 3c8d0dba authored by liujiangnan's avatar liujiangnan

feat: 弹窗提示更通用

parent 02d5abdf
...@@ -621,12 +621,7 @@ export default class NewClass extends middleLayerBase { ...@@ -621,12 +621,7 @@ export default class NewClass extends middleLayerBase {
this.loadOnlineBundle('NJ_MonkyTree'); this.loadOnlineBundle('NJ_MonkyTree');
} }
} }
if (this.courseIndex === this.courses.length - 1) { this.showConfirm("确定离开吗?", () => {
// 说明是最后一页
exit();
return;
}
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