Commit b0d3aad9 authored by jim's avatar jim

fix #1015 then add reset fields

parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment