refactor: change Select component to ApiDict for improved dictionary handling in post data schema

pull/54/head
chenminjie 2024-11-29 18:34:24 +08:00
parent 07c741f124
commit 3e0c0af119
1 changed files with 2 additions and 2 deletions

View File

@ -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: '状态',