Commit 9031b522 authored by wildfirecode's avatar wildfirecode

1

parent 81d4b6dc
......@@ -29,11 +29,12 @@ export default class ConfirmPanel extends Panel {
initEvents() {
super.initEvents();
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() {
console.log('onTap_btn');
yzwNet.accept(() => {
yzwNet.joinPkTeam((success) => {
const data = DataManager.ins.getData('joinPkTeam');
......@@ -50,6 +51,9 @@ export default class ConfirmPanel extends Panel {
this.hidePanel();
},
window['projectId'], GameConst.getQueryString("joinTeamCode"));
}, window['projectId'], GameConst.getQueryString("shareCode"));
}
}
......
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