refactor: change Select component to ApiDict for improved dictionary handling in post data schema
parent
07c741f124
commit
3e0c0af119
|
@ -79,9 +79,9 @@ export const modalSchema: VbenFormSchema[] = [
|
||||||
rules: 'required',
|
rules: 'required',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
component: 'Select',
|
component: 'ApiDict',
|
||||||
componentProps: {
|
componentProps: {
|
||||||
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
|
code: DICT_TYPE.COMMON_STATUS,
|
||||||
},
|
},
|
||||||
fieldName: 'status',
|
fieldName: 'status',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
|
|
Loading…
Reference in New Issue