types: 修改类型

This commit is contained in:
kailong321200875 2023-05-22 17:44:29 +08:00
parent 7d0476f47c
commit c3ac191504
1 changed files with 11 additions and 1 deletions

12
src/types/form.d.ts vendored
View File

@ -82,7 +82,17 @@ export interface FormSchema {
/**
* element-plus文档
*/
componentProps?: ComponentPropsForComponent<ComponentName>
componentProps?:
| InputComponentProps
| AutocompleteComponentProps
| InputNumberComponentProps
| SelectComponentProps
| SelectV2ComponentProps
| CascaderComponentProps
| SwitchComponentProps
| RateComponentProps
| ColorPickerComponentProps
| TransferComponentProps
/**
* formItem组件属性element-plus文档