From e1014ef6efe26e917a22ccc89d275de7c9e6b80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Mon, 25 Aug 2025 08:35:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=A2=E8=B4=AD=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/shop/groupPurchaseDetail/index.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/shop/groupPurchaseDetail/index.vue b/packages/shop/groupPurchaseDetail/index.vue index 33fd7f82..c5e76162 100644 --- a/packages/shop/groupPurchaseDetail/index.vue +++ b/packages/shop/groupPurchaseDetail/index.vue @@ -512,7 +512,6 @@ export default { }); //根据购物车列表 和 当前商品列表 来更新当前商品列表在购物车中的数量 - console.log("🚀 ~ getGoodsInfo ~ this.carOrderList:", this.carOrderList) if (this.carOrderList) { this.carOrderList.forEach((items) => { res.commodity_goods_info_list.forEach((item) => { @@ -700,7 +699,11 @@ export default { this.top = meun.top; this.localHeight = meun.height; this.id = itemObj.commodity_id ? itemObj.commodity_id : itemObj.id; - this.endTime = itemObj.group_buy_goods_list[0].group_buy_activity_info.end_time + if (itemObj.commodity_id) { + this.endTime = itemObj.group_buy_activity_info.end_time + } else { + this.endTime = itemObj.group_buy_goods_list[0].group_buy_activity_info.end_time + } this.getBuyRecord() this.getEndTheCountdown(this.endTime)