Skip to content

Commit

Permalink
fix(form): 在FromInstance增加validateFields方法的定义 (#2450)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinjl authored Jul 16, 2024
1 parent 201baf2 commit 0c07b7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/packages/form/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export interface FormInstance<Values = any> {
resetFields: (fields?: NamePath[]) => void
submit: () => void
getInternal: (secret: string) => any
validateFields: (nameList?: NamePath[]) => Promise<any[]>
}

export interface FormFieldEntity {
Expand Down

0 comments on commit 0c07b7b

Please sign in to comment.