@ -125,9 +125,11 @@ export const searchFormSchema: FormSchema[] = [
//字段
field: 'dutyWorkplace',
//组件 支持组件详见 components/Form/src/types/index.ts 中的 ComponentType
component: 'Select',
componentProps:{
options:await getDutyWorkplaceOptions()
component: 'ApiSelect',
componentProps: () => {
return {
api: () =>getDutyWorkplaceOptions()
}
},
labelWidth: 'auto'