修复团购活动结束时间显示异常问题
This commit is contained in:
parent
b854bf8cf5
commit
e1014ef6ef
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user