getProductImage: function (item) {
if (item &&
item.product.hasOwnProperty('img') &&
$CM.isArray(item.img) &&
item.img.length > 0)
{ return item.img[0].path;
}
return '';},
复制代码
转载于:https://juejin.im/post/5a31007151882503dc53b452