修复团购活动结束时间显示异常问题

This commit is contained in:
赵毅 2025-08-25 08:35:51 +08:00
parent b854bf8cf5
commit e1014ef6ef

View File

@ -512,7 +512,6 @@ export default {
}); });
// //
console.log("🚀 ~ getGoodsInfo ~ this.carOrderList:", this.carOrderList)
if (this.carOrderList) { if (this.carOrderList) {
this.carOrderList.forEach((items) => { this.carOrderList.forEach((items) => {
res.commodity_goods_info_list.forEach((item) => { res.commodity_goods_info_list.forEach((item) => {
@ -700,7 +699,11 @@ export default {
this.top = meun.top; this.top = meun.top;
this.localHeight = meun.height; this.localHeight = meun.height;
this.id = itemObj.commodity_id ? itemObj.commodity_id : itemObj.id; 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.getBuyRecord()
this.getEndTheCountdown(this.endTime) this.getEndTheCountdown(this.endTime)