Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
wildfirecode13
xiaoxiaole
Commits
65bbe703
Commit
65bbe703
authored
Nov 20, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
96bd5c99
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
MainScene.ts
egret/src/mainScene/MainScene.ts
+5
-0
StartPanel.ts
egret/src/panels/StartPanel.ts
+5
-5
No files found.
egret/src/mainScene/MainScene.ts
View file @
65bbe703
...
...
@@ -2558,6 +2558,11 @@ export default class MainScene extends Scene {
* @param callback
*/
submit
(
json
:
string
)
{
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
error
)
{
console
.
warn
(
error
)
}
NetManager
.
ins
.
hc_submit
((
s
,
data
)
=>
{
if
(
s
)
{
wait
(
200
).
then
(()
=>
{
...
...
egret/src/panels/StartPanel.ts
View file @
65bbe703
...
...
@@ -108,11 +108,11 @@ showlog(){
// Loading.instace.show();
this
.
touchChildren
=
false
;
this
.
touchEnabled
=
false
;
try
{
if
(
window
[
'getRST'
])
window
[
'getRST'
]();
}
catch
(
error
)
{
console
.
warn
(
error
)
}
//
try {
//
if (window['getRST']) window['getRST']();
//
} catch (error) {
//
console.warn(error)
//
}
hdGameDoDojoin
(
async
(
success
)
=>
{
// Loading.instace.hide();
...
...
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