feat(Sku): add sku item previewImgUrl (#4562)

This commit is contained in:
codpoe
2019-09-24 19:55:01 +08:00
committed by neverland
parent 55148936ff
commit ddfd034432
5 changed files with 11 additions and 6 deletions

View File

@@ -201,7 +201,7 @@ export default createComponent({
}
treeItem.v.forEach(vItem => {
const img = vItem.imgUrl || vItem.img_url;
const img = vItem.previewImgUrl || vItem.imgUrl || vItem.img_url;
if (img) {
imageList.push(img);
}