feat:简化 ApiSelect 的 api 写法~
This commit is contained in:
@@ -39,7 +39,7 @@ export function useFormSchema(): VbenFormSchema[] {
|
||||
label: '租户套餐',
|
||||
component: 'ApiSelect',
|
||||
componentProps: {
|
||||
api: () => getTenantPackageList(),
|
||||
api: getTenantPackageList,
|
||||
labelField: 'name',
|
||||
valueField: 'id',
|
||||
placeholder: '请选择租户套餐',
|
||||
|
||||
Reference in New Issue
Block a user