Commit a26c873b authored by 邱旭's avatar 邱旭

1

parent 44eb43d6
......@@ -110,11 +110,12 @@ export default class MapScene extends Scene {
onLoad() {
super.onLoad().then(()=>{});
return new Promise((resolve, reject) => {
NetManager.ins.hbRainBaseInfo(() => {
resolve();
});
});
function hbRainBaseInfo() {
return new Promise((resolve, reject) => NetManager.ins.hbRainBaseInfo(() => resolve()));
}
return Promise.all([
hbRainBaseInfo(),
]);
}
async start(data?) {
......
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