Authored by 郝肖肖

购物车编辑修复

... ... @@ -156,7 +156,7 @@ const getProductItemData = (params, url, uid) => {
*/
const getProductInfo = (productId, skn, uid) => {
return itemApi.getProductBaseAsync(productId, uid, skn).then(result => {
return itemFun.setProductData(result);
return result.data && itemFun.setProductData(result.data) || {};
});
};
... ...