Explorar o código

Merge branch 'master' of https://github.com/ant-design/ant-design-pro

ddcat1115 %!s(int64=8) %!d(string=hai) anos
pai
achega
fd031535bd
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/routes/Forms/TableForm.js

+ 3 - 0
src/routes/Forms/TableForm.js

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