Commit e1ffc728 authored by liujiangnan's avatar liujiangnan

debug

parent 08da83bb
......@@ -150,7 +150,9 @@ export default class NewClass extends middleLayerBase {
// 如果是纸书索引页面则直接返回
exit();
} else {
this.showConfirm("还没有完成哦!确定离开吗?", exit);
this.showConfirm("还没有完成哦!确定离开吗?", ()=>{
exit();
});
}
});
buttonOnClick(cc.find('middleLayer/BtnRight'), () => {
......
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