mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
feat(Sku): add sku item previewImgUrl (#4562)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user