feat: 统一 api 组件的调用方法
This commit is contained in:
@@ -35,7 +35,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
componentProps: {
|
||||
placeholder: '请输入流程分类',
|
||||
allowClear: true,
|
||||
api: getCategorySimpleList,
|
||||
api: () => getCategorySimpleList(),
|
||||
labelField: 'name',
|
||||
valueField: 'code',
|
||||
},
|
||||
|
||||
@@ -35,7 +35,7 @@ export function useGridFormSchema(): VbenFormSchema[] {
|
||||
componentProps: {
|
||||
placeholder: '请输入流程分类',
|
||||
allowClear: true,
|
||||
api: getCategorySimpleList,
|
||||
api: () => getCategorySimpleList(),
|
||||
labelField: 'name',
|
||||
valueField: 'code',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user