Authored by 郝肖肖

购物车编辑修复

@@ -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