This commit is contained in:
weiwei committed 2025-06-20 10:48:36 +08:00
1 parent c31c2304c2
commit d1b88a8adb
1 file changed
+1 -1
+1 -1
View File
@@ -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" })
},