Commit 46d72cee authored by liujiangnan's avatar liujiangnan

debug

parent 7e14a487
......@@ -46,11 +46,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.step = 1;
} catch (error) {
// TODO 三秒内没有检测到对应页码的后续处理; 先加个提示框然后重新检测
setTimeout(() => {
this.showTips("未检测到对应页面");
progress.getComponent(cc.ProgressBar).progress = 1;
circle.active = false;
}, 1);
const bar = progress.getComponent(cc.ProgressBar);
this.showTips(`未检测到对应页面 ${bar.progress}`);
bar.progress = 1;
circle.active = false;
await this.startStep1();
}
}
......
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