bugfix:フィールド表示の不具合を修正
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
import { useAsyncState } from '@vueuse/core';
|
||||
import { api } from 'boot/axios';
|
||||
import { computed ,Prop,PropType} from 'vue';
|
||||
import {IField} from 'src/types/ComponentTypes'
|
||||
import {IField} from 'src/types/ComponentTypes';
|
||||
|
||||
export default {
|
||||
name: 'FieldList',
|
||||
@@ -42,11 +42,10 @@ export default {
|
||||
}
|
||||
}).then(res => {
|
||||
const fields = res.data.properties;
|
||||
return Object.values(fields).map(f => ({ name: fields.label, objectType: 'field', ...fields }));
|
||||
return Object.values(fields).map((f:any) => ({ name: f.label, objectType: 'field', ...f }));
|
||||
});
|
||||
}
|
||||
}, [{ name: '', objectType: '', type: '', code: '', label: '' }])
|
||||
|
||||
return {
|
||||
columns,
|
||||
rows,
|
||||
|
||||
Reference in New Issue
Block a user