|
|
@@ -147,10 +147,10 @@ export default class Store extends cc.Component {
|
|
|
if (!this.storeData) {
|
|
|
return;
|
|
|
}
|
|
|
- if (this.paying) {
|
|
|
- return;
|
|
|
- }
|
|
|
- this.paying = true;
|
|
|
+ // if (this.paying) {
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // this.paying = true;
|
|
|
let goodInfo = this.storeData[index];
|
|
|
let sendData = {
|
|
|
userId: this.selfUserID,
|
|
|
@@ -171,7 +171,6 @@ export default class Store extends cc.Component {
|
|
|
itemID: goodInfo.buyId
|
|
|
}));
|
|
|
});
|
|
|
-
|
|
|
}
|
|
|
|
|
|
onclickClose() {
|
|
|
@@ -183,7 +182,7 @@ export default class Store extends cc.Component {
|
|
|
}
|
|
|
|
|
|
private buyGoodReturn() {
|
|
|
- this.paying = false;
|
|
|
+ // this.paying = false;
|
|
|
this.updateCoin();
|
|
|
this.showBoughtCoin(this.buyIndex);
|
|
|
this.buyIndex = 0;
|