Merge pull request #687 from RickCole21/master

修复弹框中表单提交后不刷新CRUD
This commit is contained in:
RickCole 2020-06-12 17:26:56 +08:00 committed by GitHub
commit 212162a42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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 了,那么后面的就不应该再执行了。