Commit cc6b76ff authored by liujiangnan's avatar liujiangnan

fix: 完善方法

parent 67c3cec7
...@@ -172,6 +172,8 @@ export class MyCocosSceneComponent extends cc.Component { ...@@ -172,6 +172,8 @@ export class MyCocosSceneComponent extends cc.Component {
}); });
} }
}); });
}else{
cb && cb();
} }
} }
} }
\ No newline at end of file
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