fix form onFieldsChange param type (#12185)

This commit is contained in:
newraina 2018-09-11 11:54:40 +08:00 committed by 偏右
parent ece2b65c3a
commit f8408510a6

View File

@ -19,7 +19,7 @@ interface FormCreateOptionMessages {
}
export interface FormCreateOption<T> {
onFieldsChange?: (props: T, fields: Array<any>, allFields: any, add: string) => void;
onFieldsChange?: (props: T, fields: object, allFields: any, add: string) => void;
onValuesChange?: (props: T, changedValues: any, allValues: any) => void;
mapPropsToFields?: (props: T) => void;
validateMessages?: FormCreateOptionMessages;