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