From 0c6703f04d25d4782df12e0a32a16db0745031e5 Mon Sep 17 00:00:00 2001 From: 15386982806 Date: Tue, 23 Apr 2024 11:28:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BF=83=E9=94=80=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/components/goodsDetail/ShowGoods.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index 87aa1668..5145fbf6 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -334,7 +334,7 @@ export default { if (this.wholesaleList && this.wholesaleList.length > 0) { this.count = this.wholesaleList[0].num; } - + this.promotion(); this.swiperGoodsImg(); }, deep: true, @@ -563,6 +563,7 @@ export default { }); }, promotion() { + this.promotionMap = {SECKILL: null, FULL_DISCOUNT: null, COUPON: []}; // 格式化促销活动,返回当前促销的对象 if (!this.detail.promotionMap) return false; let keysArr = Object.keys(this.detail.promotionMap); @@ -600,7 +601,7 @@ export default { } this.formatSku(this.goodsSpecList); - this.promotion(); + // this.promotion(); document.title = this.skuDetail.goodsName; }, };