Showing
1 changed file
with
1 additions
and
1 deletions
@@ -156,7 +156,7 @@ const getProductItemData = (params, url, uid) => { | @@ -156,7 +156,7 @@ const getProductItemData = (params, url, uid) => { | ||
156 | */ | 156 | */ |
157 | const getProductInfo = (productId, skn, uid) => { | 157 | const getProductInfo = (productId, skn, uid) => { |
158 | return itemApi.getProductBaseAsync(productId, uid, skn).then(result => { | 158 | return itemApi.getProductBaseAsync(productId, uid, skn).then(result => { |
159 | - return itemFun.setProductData(result); | 159 | + return result.data && itemFun.setProductData(result.data) || {}; |
160 | }); | 160 | }); |
161 | }; | 161 | }; |
162 | 162 |
-
Please register or login to post a comment