修复
This commit is contained in:
1 parent
c31c2304c2
commit
d1b88a8adb
1 file changed
+1
-1
@@ -73,7 +73,7 @@ export const useCartStore = defineStore("cartStore", {
|
||||
productId: v.productId,
|
||||
}
|
||||
})
|
||||
const { code }: any = await foodApi.updateShopCar({ merchantId: this.saveShopMerchantId, list, hardType: "SUPERMARKET" })
|
||||
const { code }: any = await foodApi.updateShopCar({ merchantId: this.shopMerchantId, list, hardType: "SUPERMARKET" })
|
||||
if (code == 0) return await this.getShopCart()
|
||||
uni.showToast({ title: "更新购物车失败", icon: "none" })
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user