Authored by shijian

考虑skn无数据的情况

... ... @@ -198,11 +198,11 @@ const component = {
});
} else {
homeModel.recentPreviewNew(req.user.uid, 20).then(result => {
if(result.data&&result.data.product_list){
if (result.data && result.data.product_list) {
let sknarr = result.data.product_list.map(item=>item.product_skn);
return homeModel.getSknUrl(sknarr, result);
}else{
} else {
return result;
}
... ...