feat: refresh wallet on buy

This commit is contained in:
Hasta Ragil Saputra 2019-01-29 19:47:46 +07:00
parent e4f9341e5d
commit 135beb5238

View File

@ -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;
})