Authored by 514335620@qq.com

删除多余的代码

... ... @@ -128,39 +128,6 @@ const convertActicityData = (data) => {
hide: false
});
});
_.forEach(data, (item) => {
formatData.push({
activityUrl: 'product/outlet?id=' + item.id,
coverUrl: item.coverUrl,
logoUrl: item.logoUrl,
title: item.title,
promotionName: item.promotionName,
startLeftTime: item.startLeftTime,
hide: false
});
});
_.forEach(data, (item) => {
formatData.push({
activityUrl: 'product/outlet?id=' + item.id,
coverUrl: item.coverUrl,
logoUrl: item.logoUrl,
title: item.title,
promotionName: item.promotionName,
startLeftTime: item.startLeftTime,
hide: false
});
});
_.forEach(data, (item) => {
formatData.push({
activityUrl: 'product/outlet?id=' + item.id,
coverUrl: item.coverUrl,
logoUrl: item.logoUrl,
title: item.title,
promotionName: item.promotionName,
startLeftTime: item.startLeftTime,
hide: false
});
});
if (formatData.length > 10) {
... ...