Showing
1 changed file
with
0 additions
and
33 deletions
@@ -128,39 +128,6 @@ const convertActicityData = (data) => { | @@ -128,39 +128,6 @@ const convertActicityData = (data) => { | ||
128 | hide: false | 128 | hide: false |
129 | }); | 129 | }); |
130 | }); | 130 | }); |
131 | - _.forEach(data, (item) => { | ||
132 | - formatData.push({ | ||
133 | - activityUrl: 'product/outlet?id=' + item.id, | ||
134 | - coverUrl: item.coverUrl, | ||
135 | - logoUrl: item.logoUrl, | ||
136 | - title: item.title, | ||
137 | - promotionName: item.promotionName, | ||
138 | - startLeftTime: item.startLeftTime, | ||
139 | - hide: false | ||
140 | - }); | ||
141 | - }); | ||
142 | - _.forEach(data, (item) => { | ||
143 | - formatData.push({ | ||
144 | - activityUrl: 'product/outlet?id=' + item.id, | ||
145 | - coverUrl: item.coverUrl, | ||
146 | - logoUrl: item.logoUrl, | ||
147 | - title: item.title, | ||
148 | - promotionName: item.promotionName, | ||
149 | - startLeftTime: item.startLeftTime, | ||
150 | - hide: false | ||
151 | - }); | ||
152 | - }); | ||
153 | - _.forEach(data, (item) => { | ||
154 | - formatData.push({ | ||
155 | - activityUrl: 'product/outlet?id=' + item.id, | ||
156 | - coverUrl: item.coverUrl, | ||
157 | - logoUrl: item.logoUrl, | ||
158 | - title: item.title, | ||
159 | - promotionName: item.promotionName, | ||
160 | - startLeftTime: item.startLeftTime, | ||
161 | - hide: false | ||
162 | - }); | ||
163 | - }); | ||
164 | 131 | ||
165 | 132 | ||
166 | if (formatData.length > 10) { | 133 | if (formatData.length > 10) { |
-
Please register or login to post a comment