Commit 53d2de7a authored by clannadxr's avatar clannadxr Committed by 陈帅

修复TableForm数据验证不过时loading不恢复问题 (#812)

parent 25668347
...@@ -97,6 +97,9 @@ export default class TableForm extends PureComponent { ...@@ -97,6 +97,9 @@ export default class TableForm extends PureComponent {
if (!target.workId || !target.name || !target.department) { if (!target.workId || !target.name || !target.department) {
message.error('请填写完整成员信息。'); message.error('请填写完整成员信息。');
e.target.focus(); e.target.focus();
this.setState({
loading: false,
});
return; return;
} }
delete target.isNew; delete target.isNew;
......
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