Showing
1 changed file
with
1 additions
and
0 deletions
@@ -282,6 +282,7 @@ renderGoodList(); | @@ -282,6 +282,7 @@ renderGoodList(); | ||
282 | 282 | ||
283 | function changeImgQuality(flag){ | 283 | function changeImgQuality(flag){ |
284 | $.each(goodsList,function (index,item){ | 284 | $.each(goodsList,function (index,item){ |
285 | + if(!item.goodsImagesList){return true;} | ||
285 | $.each(item.goodsImagesList, function (_index, _item) { | 286 | $.each(item.goodsImagesList, function (_index, _item) { |
286 | if(flag && _item.imageUrl.indexOf('?') == -1){ | 287 | if(flag && _item.imageUrl.indexOf('?') == -1){ |
287 | _item.imageUrl = _item.imageUrl + '?imageView2/0/q/75'; | 288 | _item.imageUrl = _item.imageUrl + '?imageView2/0/q/75'; |
-
Please register or login to post a comment