Showing
1 changed file
with
1 additions
and
1 deletions
@@ -529,7 +529,7 @@ exports.getSaleSpecialData = (id, params, channel) => { | @@ -529,7 +529,7 @@ exports.getSaleSpecialData = (id, params, channel) => { | ||
529 | limit: limit, | 529 | limit: limit, |
530 | attribute_not: 2 | 530 | attribute_not: 2 |
531 | }); | 531 | }); |
532 | - let banner = JSON.parse(data.banner_img) || []; | 532 | + let banner = data.banner_img ? JSON.parse(data.banner_img) : []; |
533 | 533 | ||
534 | Object.assign(resData, { | 534 | Object.assign(resData, { |
535 | mainBanner: { | 535 | mainBanner: { |
-
Please register or login to post a comment