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',
|
||||
},
|
||||
{
|
||||
component: 'Select',
|
||||
component: 'ApiDict',
|
||||
componentProps: {
|
||||
options: getDictOptions(DICT_TYPE.COMMON_STATUS, 'number'),
|
||||
code: DICT_TYPE.COMMON_STATUS,
|
||||
},
|
||||
fieldName: 'status',
|
||||
label: '状态',
|
||||
|
|
Loading…
Reference in New Issue