修复弹框中表单提交后不刷新CRUD

This commit is contained in:
rickcole 2020-06-12 17:26:28 +08:00
parent 32e1d49cf9
commit 1c71edc122

View File

@ -658,11 +658,11 @@ export default class Form extends React.Component<FormProps, object> {
}
}
return values;
// return values;
});
}
return Promise.resolve(values);
return Promise.resolve(null);
})
.then(values => {
// 有可能 onSubmit return false 了,那么后面的就不应该再执行了。