Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
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
yyh
Commits
9031b522
Commit
9031b522
authored
Dec 13, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
81d4b6dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
15 deletions
+19
-15
ConfirmPanel.ts
egret/src/yazuwei/ConfirmPanel.ts
+19
-15
No files found.
egret/src/yazuwei/ConfirmPanel.ts
View file @
9031b522
...
@@ -29,11 +29,12 @@ export default class ConfirmPanel extends Panel {
...
@@ -29,11 +29,12 @@ export default class ConfirmPanel extends Panel {
initEvents
()
{
initEvents
()
{
super
.
initEvents
();
super
.
initEvents
();
this
.
onTap
(
this
[
'btn'
],
this
.
onTap_btn
);
this
.
onTap
(
this
[
'btn'
],
this
.
onTap_btn
);
this
.
onTap
(
this
[
'closeBtn'
],
()
=>
{
history
.
pushState
(
""
,
document
.
title
,
window
[
'indexhtml'
]);
})
this
.
onTap
(
this
[
'closeBtn'
],
()
=>
{
history
.
pushState
(
""
,
document
.
title
,
window
[
'indexhtml'
]);
})
}
}
onTap_btn
()
{
onTap_btn
()
{
console
.
log
(
'onTap_btn'
);
console
.
log
(
'onTap_btn'
);
yzwNet
.
accept
(()
=>
{
yzwNet
.
joinPkTeam
((
success
)
=>
{
yzwNet
.
joinPkTeam
((
success
)
=>
{
const
data
=
DataManager
.
ins
.
getData
(
'joinPkTeam'
);
const
data
=
DataManager
.
ins
.
getData
(
'joinPkTeam'
);
...
@@ -50,6 +51,9 @@ export default class ConfirmPanel extends Panel {
...
@@ -50,6 +51,9 @@ export default class ConfirmPanel extends Panel {
this
.
hidePanel
();
this
.
hidePanel
();
},
},
window
[
'projectId'
],
GameConst
.
getQueryString
(
"joinTeamCode"
));
window
[
'projectId'
],
GameConst
.
getQueryString
(
"joinTeamCode"
));
},
window
[
'projectId'
],
GameConst
.
getQueryString
(
"shareCode"
));
}
}
}
}
...
...
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