diff --git a/pages/cart.vue b/pages/cart.vue index 28ae0a3..ff7b0cf 100644 --- a/pages/cart.vue +++ b/pages/cart.vue @@ -342,11 +342,11 @@ export default { const { type } = e const value = good.cartNum + (type === 'plus' ? 1 : -1) const id = good.id - uni.showLoading() + // uni.showLoading() changeCartNum(id, value).then(res => { const { success } = res if (success) { - uni.hideLoading() + // uni.hideLoading() this.$set(this.list[index].carts[gIndex], 'cartNum', value) } }).catch(() => {