修复购物车页面商品数量修改, 右上角图标数据未更新问题
This commit is contained in:
parent
1127186f7f
commit
971158a11c
|
|
@ -176,6 +176,7 @@
|
||||||
this.products = res.data.carts
|
this.products = res.data.carts
|
||||||
this.amount_format = res.data.amount_format
|
this.amount_format = res.data.amount_format
|
||||||
this.total_quantity = res.data.quantity
|
this.total_quantity = res.data.quantity
|
||||||
|
bk.getCarts()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 实例被挂载后调用
|
// 实例被挂载后调用
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue