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

@@ -150,6 +150,8 @@ export default defineComponent({
// recordCol.value = fieldsTable.getrecTableList(props.table)
let columns = fieldsTable.getArrColsByTable(props.table)
// console.log('table', props.table, 'LAB', optlab.value, 'COL', columns)
if (columns) {
col.value = columns.find((col: any) => col.name === props.field)
} else {
@@ -160,6 +162,7 @@ export default defineComponent({
jointable.value = col.value.jointable!
}
const arrk = props.field.split('.')
if (arrk) {
mykey.value = props.field