Version 0.2.7 (2)

This commit is contained in:
paoloar77
2022-02-21 18:54:16 +01:00
parent 36f53334ed
commit 3f81f85bd4
8 changed files with 22 additions and 14 deletions

View File

@@ -74,14 +74,6 @@ export default defineComponent({
load()
}
function getFullFileName(arrimage: IImgGallery[], username: string){
if (arrimage && arrimage.length > 0) {
return 'upload/profile/' + username + '/' + props.table + '/' + arrimage[0].imagefile
} else {
return ''
}
}
onMounted(mounted)
return {
@@ -98,7 +90,6 @@ export default defineComponent({
colCitys,
toolsext,
col,
getFullFileName,
}
}
})

View File

@@ -18,7 +18,7 @@
<q-img
v-if="tools.getValue(myrec, 'photos', '')"
:src="getFullFileName(tools.getValue(myrec, 'photos', ''), myrec.username)" class="img" alt="immagine bene"></q-img>
:src="tools.getFullFileName(tools.getValue(myrec, 'photos', ''), table, myrec.username)" class="img" alt="immagine bene"></q-img>
</div>
<div class="text-center">