Fix(购物车):[#1016]规格增减数量异常未提示内容
This commit is contained in:
+1
-2
@@ -339,12 +339,11 @@ export default {
|
|||||||
changeCartNum(id, value).then(res => {
|
changeCartNum(id, value).then(res => {
|
||||||
const { success } = res
|
const { success } = res
|
||||||
if (success) {
|
if (success) {
|
||||||
|
uni.hideLoading()
|
||||||
this.$set(this.list[index].carts[gIndex], 'cartNum', value)
|
this.$set(this.list[index].carts[gIndex], 'cartNum', value)
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
}).finally(() => {
|
|
||||||
uni.hideLoading()
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleIds() {
|
handleIds() {
|
||||||
|
|||||||
Reference in New Issue
Block a user