未验证 提交 7bbb8624 编写于 作者: Z zty 提交者: GitHub

fix: set type of FormActionType.setFieldsValue same as type of setFieldsValue...

fix: set type of FormActionType.setFieldsValue same as type of setFieldsValue in useFormEvents (#2630)
上级 b0a45d47
......@@ -26,7 +26,7 @@ export interface ButtonProps extends AntdButtonProps {
export interface FormActionType {
submit: () => Promise<void>;
setFieldsValue: <T>(values: T) => Promise<void>;
setFieldsValue: (values: Recordable) => Promise<void>;
resetFields: () => Promise<void>;
getFieldsValue: () => Recordable;
clearValidate: (name?: string | string[]) => Promise<void>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册