Skip to content

Commit

Permalink
types: 修改类型
Browse files Browse the repository at this point in the history
  • Loading branch information
kailong321200875 committed May 22, 2023
1 parent 7d0476f commit c3ac191
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/types/form.d.ts
Expand Up @@ -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文档
Expand Down

0 comments on commit c3ac191

Please sign in to comment.