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

1

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