Commit 7e14a487 authored by liujiangnan's avatar liujiangnan

debug

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