immagini dei prodotti marocco
visualizzazione di una pagina web su di un q-dialog
This commit is contained in:
@@ -81,8 +81,12 @@ function completaSettaggioProduct_AndProductInfo(arrcampi_productInfo, arrcampi_
|
||||
}
|
||||
}
|
||||
|
||||
if (!productInfo.img && product.code) {
|
||||
if (!rec.hasOwnProperty('img') && product.code) {
|
||||
productInfo.img = 'upload/products/' + product.code + '.jpg';
|
||||
} else {
|
||||
if (rec.hasOwnProperty('img')) {
|
||||
productInfo.img = 'upload/products/' + rec['img'];
|
||||
}
|
||||
}
|
||||
|
||||
return { product, productInfo };
|
||||
|
||||
Reference in New Issue
Block a user