提交 b0d3aad9 编写于 作者: J jim

fix #1015 then add reset fields

上级 ebd6f2ff
......@@ -78,6 +78,7 @@ const CreateForm = Form.create()((props) => {
const okHandle = () => {
form.validateFields((err, fieldsValue) => {
if (err) return;
form.resetFields();
handleAdd(fieldsValue);
});
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册