pull/8399/merge
Caleb 2025-11-18 08:53:46 +08:00 committed by GitHub
commit ecd36f379a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ export const formProps = () => ({
export type FormProps = Partial<ExtractPropTypes<ReturnType<typeof formProps>>>; export type FormProps = Partial<ExtractPropTypes<ReturnType<typeof formProps>>>;
export type FormExpose = { export type FormExpose = {
resetFields: (name?: NamePath) => void; resetFields: (nameList?: NamePath[]) => void;
clearValidate: (name?: NamePath) => void; clearValidate: (nameList?: NamePath[]) => void;
validateFields: ( validateFields: (
nameList?: NamePath[] | string, nameList?: NamePath[] | string,
options?: ValidateOptions, options?: ValidateOptions,