From f72477a247baf67c533fb2af21f76da6816358c2 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Sun, 4 Jan 2026 10:26:18 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A4779=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E5=95=86=E5=93=81=E9=80=81?= =?UTF-8?q?=E7=A4=BC=EF=BC=9A=E7=82=B9=E5=87=BB=E2=80=9C=E5=86=8D=E9=80=81?= =?UTF-8?q?=E4=B8=80=E4=BB=BD=E2=80=9D=EF=BC=8C=E7=A4=BC=E5=8C=85=E5=B0=81?= =?UTF-8?q?=E9=9D=A2=E9=80=89=E6=8B=A9=E5=BC=B9=E7=AA=97=E4=BC=9A=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=9B=A2=E8=B4=AD=E7=B1=BB=E7=9A=84=E7=A4=BC=E5=8C=85?= =?UTF-8?q?=E5=B0=81=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_user/views/gift/gift.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg_user/views/gift/gift.vue b/pkg_user/views/gift/gift.vue index 5ce8cc6..53aebb0 100644 --- a/pkg_user/views/gift/gift.vue +++ b/pkg_user/views/gift/gift.vue @@ -373,7 +373,9 @@ export default { } getGiftCardResend(params).then(res => { this.isPayOk = false - const initialCoverList = [...res.data.giftCardTemplates, res.data.specialGiftCardTemplate] + const temp = res.data.giftCardTemplates.filter(e => e.isTravelGroup === 0) + const hasSpecial = res.data.giftCardTemplates.map(e => e.id).includes(res.data.specialGiftCardTemplate.id) + const initialCoverList = hasSpecial ? [...temp] : [...temp, res.data.specialGiftCardTemplate] const goodsInfo = res.data.cartInfo[0] const { coverList, template } = this.adjustCoverListForProductStory(initialCoverList, goodsInfo && goodsInfo.productInfo, res.data.specialGiftCardTemplate) this.coverList = coverList