Commit 719f5be8 authored by wildfirecode's avatar wildfirecode

1

parents 5f5767dd 174c4dcf
......@@ -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