Commit a6331cab authored by wildfirecode13's avatar wildfirecode13

update

parent 7668c2c0
...@@ -29,9 +29,6 @@ export class IndexScene extends Scene { ...@@ -29,9 +29,6 @@ export class IndexScene extends Scene {
var res = await sendWebNet(WebNetName.canshare) var res = await sendWebNet(WebNetName.canshare)
if (res && res.success && res.data) { if (res && res.success && res.data) {
showPanel(ShareSuccessPanel); showPanel(ShareSuccessPanel);
setTimeout(() => {
showPanel(ShareFailPanel);
}, 3000);
} else { } else {
showPanel(ShareFailPanel); showPanel(ShareFailPanel);
} }
......
...@@ -12,10 +12,8 @@ export class NewbieScene extends Scene { ...@@ -12,10 +12,8 @@ export class NewbieScene extends Scene {
async start(data) { async start(data) {
super.start(); super.start();
console.log(this);
this.addEventListener(FYGE.MouseEvent.CLICK,()=>{ this.addEventListener(FYGE.MouseEvent.CLICK,()=>{
showPanel(PrizePanel,data); showPanel(PrizePanel,data);
},this); },this);
} }
......
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