From b0d3aad9f3d2c81b8b70298a26a4fdded91f5885 Mon Sep 17 00:00:00 2001 From: jim Date: Fri, 2 Mar 2018 10:22:14 +0800 Subject: [PATCH] fix #1015 then add reset fields --- src/routes/List/TableList.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/List/TableList.js b/src/routes/List/TableList.js index a74860c7..776fde4a 100644 --- a/src/routes/List/TableList.js +++ b/src/routes/List/TableList.js @@ -78,6 +78,7 @@ const CreateForm = Form.create()((props) => { const okHandle = () => { form.validateFields((err, fieldsValue) => { if (err) return; + form.resetFields(); handleAdd(fieldsValue); }); }; -- GitLab