fix column changed value (fieldtype)

This commit is contained in:
Surya Paolo
2022-11-30 11:36:48 +01:00
parent 5a46821621
commit 3aff6a9c94
6 changed files with 13 additions and 2 deletions

View File

@@ -254,7 +254,7 @@ export default defineComponent({
// console.log('crea', isFieldDb(), 'props.mycol', props.mycol)
if (props.mycol && props.mycol.name && props.mycol.name !== 'test') {
col.value = props.mycol
col.value = {...props.mycol}
} else {
if (col.value.name === 'test') {
col.value.name = props.field