- corretto img profilo
- corretto coordinata non obbligatoria
This commit is contained in:
@@ -273,7 +273,7 @@ export default defineComponent({
|
||||
})
|
||||
*/
|
||||
function crea() {
|
||||
// console.log('crea', isFieldDb(), 'props.mycol', props.mycol)
|
||||
console.log('crea', isFieldDb(), 'props.mycol', props.mycol)
|
||||
|
||||
if (props.mycol && props.mycol.name && props.mycol.name !== 'test') {
|
||||
col.value = { ...props.mycol }
|
||||
@@ -295,7 +295,6 @@ export default defineComponent({
|
||||
_id: '',
|
||||
imagefile: myvalue.value,
|
||||
vers_img: 1,
|
||||
// order: 1,
|
||||
alt: 'img',
|
||||
}]
|
||||
} else if (props.type === costanti.FieldType.imgcard) {
|
||||
@@ -319,6 +318,8 @@ export default defineComponent({
|
||||
}
|
||||
}
|
||||
|
||||
console.log('popupedit myvalue.value: ', myvalue.value)
|
||||
|
||||
if (props.tablesel) {
|
||||
// let obj = tools.getParamsByTable(props.table)
|
||||
// console.log('OBJ:', obj)
|
||||
@@ -468,7 +469,7 @@ export default defineComponent({
|
||||
|
||||
try {
|
||||
|
||||
// console.log('mounted', 'isFieldDb()', isFieldDb())
|
||||
console.log('mounted', 'isFieldDb()', myrow.value)
|
||||
if (isFieldDb() && !props.isrec) {
|
||||
// console.log(' . none...')
|
||||
} else {
|
||||
@@ -487,7 +488,7 @@ export default defineComponent({
|
||||
myvalue.value = myrow.value
|
||||
}
|
||||
}
|
||||
// console.log('props.field', props.field, 'props.subfield', props.subfield, 'myvalue: ', myvalue)
|
||||
console.log('props.field', props.field, 'props.subfield', props.subfield, 'myvalue: ', myvalue)
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
@@ -663,9 +664,11 @@ export default defineComponent({
|
||||
// console.log('DOPO myvalue', myvalue, newVal, myvalueprec)
|
||||
}
|
||||
|
||||
console.log('Savedb: type', col.value.fieldtype)
|
||||
|
||||
if (col.value.fieldtype === costanti.FieldType.image) {
|
||||
console.log('newVal.imagefile', newVal)
|
||||
myvalue.value = newVal
|
||||
myvalue.value = tools.getImgFileToSaveByFilename(newVal)
|
||||
} else if (col.value.fieldtype === costanti.FieldType.imgcard) {
|
||||
console.log('newVal.imagefile', newVal)
|
||||
myvalue.value = newVal
|
||||
|
||||
@@ -418,7 +418,7 @@
|
||||
>
|
||||
<div v-if="canEdit">
|
||||
<span class="text-h7 text-weight-bold row justify-center">
|
||||
{{ $t(col.label_trans) }}
|
||||
{{ $t(col.label_trans ? col.label_trans : '') }}
|
||||
</span>
|
||||
<CGallery
|
||||
:imagebak="
|
||||
|
||||
Reference in New Issue
Block a user