Commit 46d72cee authored by liujiangnan's avatar liujiangnan

debug

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