Commit e9b3f3af authored by 范雪寒's avatar 范雪寒

test:

parent 4377498d
......@@ -91,17 +91,17 @@ export class NetworkHelper {
: cacertFile.nativeUrl;
}
console.log("initListener");
this.log("initListener");
MGOBE.Listener.init(gameInfo, config, (event) => {
console.log(JSON.stringify(event));
this.log(JSON.stringify(event));
if (event.code !== 0) {
console.log("初始化失败: " + event.code);
this.log("初始化失败: " + event.code);
reject();
return;
}
this.listenerInited = true;
console.log("初始化成功");
this.log("初始化成功");
resolve(null);
});
});
......
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