Commit 10d84d24 authored by 邱旭's avatar 邱旭

1

parent 74f641fb
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
......
......@@ -149,8 +149,8 @@ export default class RechargePanel extends Panel {
console.warn(error)
}
NetManager.ins.exchangeCoin((success, res) => {
this.btn.touchEnabled = true;
if(!success) {
this.btn.touchEnabled = true;
showToast('网络开小差啦,请稍后再试');
return;
}
......@@ -160,6 +160,7 @@ export default class RechargePanel extends Panel {
this.onTouchTap_closeBtn();
// PanelCtrl.instance.show('Shop');
SceneCtrl.instance.updateScene();
this.btn.touchEnabled = true;
}, window['collectRuleId']);
}, this.nowNumber);
}
......
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