feat: refresh wallet on buy
This commit is contained in:
parent
e4f9341e5d
commit
135beb5238
|
@ -57,10 +57,10 @@ export default class Vouchers {
|
|||
this.isLoading = true;
|
||||
return this.http.post("shop/buy_voucher", {
|
||||
item_sku_id : data
|
||||
}
|
||||
).then(res => {
|
||||
}).then(res => {
|
||||
this.isLoading = false;
|
||||
this.getList();
|
||||
this.getList();
|
||||
this.context.wallet.getData();
|
||||
console.log('res',res)
|
||||
return res;
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue
Block a user