Showing
1 changed file
with
0 additions
and
7 deletions
@@ -238,13 +238,6 @@ const category = (req, res, next) => { | @@ -238,13 +238,6 @@ const category = (req, res, next) => { | ||
238 | } | 238 | } |
239 | 239 | ||
240 | searchModel.getSearchData(initialData).then((firstScreenGoodsList) => { | 240 | searchModel.getSearchData(initialData).then((firstScreenGoodsList) => { |
241 | - if (firstScreenGoodsList && firstScreenGoodsList.list) { | ||
242 | - _.forEach(firstScreenGoodsList.list, function(item) { | ||
243 | - if (item && item.default_images) { | ||
244 | - item.default_images = item.default_images.replace(/quality\/80/g, 'quality/70'); | ||
245 | - } | ||
246 | - }); | ||
247 | - } | ||
248 | res.render('search/goods-list', { | 241 | res.render('search/goods-list', { |
249 | _noLazy: true, // 首屏不使用lazyload | 242 | _noLazy: true, // 首屏不使用lazyload |
250 | module: 'product', | 243 | module: 'product', |
-
Please register or login to post a comment