Commit bdce535e authored by rockyl's avatar rockyl

错误打印

parent 0128e118
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"entryScene": "main" "entryScene": "main"
}, },
"webServiceUrl-": "http://10.10.93.204:7555 http://localhost:3010", "webServiceUrl-": "http://10.10.93.204:7555 http://localhost:3010",
"webServiceUrl": "" "webServiceUrl": "http://localhost:3010"
}, },
"dataCenterConfig": { "dataCenterConfig": {
"dataCenterRoot": [ "dataCenterRoot": [
......
...@@ -18,7 +18,7 @@ modifyEngineConfig({ ...@@ -18,7 +18,7 @@ modifyEngineConfig({
drawRenderRect: false, drawRenderRect: false,
}); });
export async function startup(containerElement, options: any = {}, onProgress: Function) { export function startup(containerElement, options: any = {}, onProgress: Function) {
launcher = new ScillaLauncher(); launcher = new ScillaLauncher();
const config = window['configJson'] = JSON.parse(window['CFG'].configJson); const config = window['configJson'] = JSON.parse(window['CFG'].configJson);
...@@ -34,5 +34,7 @@ export async function startup(containerElement, options: any = {}, onProgress: F ...@@ -34,5 +34,7 @@ export async function startup(containerElement, options: any = {}, onProgress: F
} }
}; };
await launcher.launch(containerElement, options, onProgress); return launcher.launch(containerElement, options, onProgress).catch(e=>{
console.log(e);
});
} }
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