feat:简化 ApiSelect 的 api 写法~
This commit is contained in:
@@ -59,7 +59,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
label: '邮箱账号',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
api: () => getSimpleMailAccountList(),
|
||||
api: getSimpleMailAccountList,
|
||||
labelField: 'mail',
|
||||
valueField: 'id',
|
||||
allowClear: true,
|
||||
|
||||
Reference in New Issue
Block a user