fix column changed value (fieldtype)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user