From d1b88a8adbada7859981258dd4597f3f3653528c Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 20 Jun 2025 10:48:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sheep/stores/cart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sheep/stores/cart.ts b/src/sheep/stores/cart.ts index 2b587e6..0174104 100644 --- a/src/sheep/stores/cart.ts +++ b/src/sheep/stores/cart.ts @@ -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" }) },