From 40fe63a3fbbfd33d779b6d4cc01993024e668edf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E8=B6=8A?= <552369664@qq.com> Date: Thu, 5 Sep 2024 10:55:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E6=8B=BC=E5=9B=A2=E6=B4=BB=E5=8A=A8=E5=92=8CSPU?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=88=86=E5=BC=80=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/mobile/PromotionCombination/index.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/DiyEditor/components/mobile/PromotionCombination/index.vue b/src/components/DiyEditor/components/mobile/PromotionCombination/index.vue index 87c7423e..99d4e583 100644 --- a/src/components/DiyEditor/components/mobile/PromotionCombination/index.vue +++ b/src/components/DiyEditor/components/mobile/PromotionCombination/index.vue @@ -123,7 +123,6 @@ import {fenToYuan} from "@/utils"; /** 拼团卡片 */ defineOptions({name: 'PromotionCombination'}) // 定义属性 -// 定义属性 const props = defineProps<{ property: PromotionCombinationProperty }>(); // 商品列表 const spuList = ref([]); @@ -150,13 +149,12 @@ watch( .map(activity => activity.spuId) .filter((spuId): spuId is number => typeof spuId === 'number'); - // 如果有有效的 spuId,调用 API 获取详细信息 + // 如果存在有效的 spuId,调用 API 获取详细信息 if (spuIdList.value.length > 0) { spuList.value = await ProductSpuApi.getSpuDetailList(spuIdList.value); } else { console.warn('没有用于获取详细信息的有效 spuId。'); } - // 更新 SPU 的最低价格 combinationActivityList.value.forEach(activity => { activity.products.forEach(product => {