Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
super-miner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
劳工
super-miner
Commits
bdce535e
Commit
bdce535e
authored
May 28, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
错误打印
parent
0128e118
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
manifest.json
manifest.json
+1
-1
main.ts
src/main.ts
+4
-2
No files found.
manifest.json
View file @
bdce535e
...
...
@@ -16,7 +16,7 @@
"entryScene"
:
"main"
},
"webServiceUrl-"
:
"http://10.10.93.204:7555 http://localhost:3010"
,
"webServiceUrl"
:
""
"webServiceUrl"
:
"
http://localhost:3010
"
},
"dataCenterConfig"
:
{
"dataCenterRoot"
:
[
...
...
src/main.ts
View file @
bdce535e
...
...
@@ -18,7 +18,7 @@ modifyEngineConfig({
drawRenderRect
:
false
,
});
export
async
function
startup
(
containerElement
,
options
:
any
=
{},
onProgress
:
Function
)
{
export
function
startup
(
containerElement
,
options
:
any
=
{},
onProgress
:
Function
)
{
launcher
=
new
ScillaLauncher
();
const
config
=
window
[
'configJson'
]
=
JSON
.
parse
(
window
[
'CFG'
].
configJson
);
...
...
@@ -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
);
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment