yee 7 years ago
parent
commit
a0baaaa12e
1 changed files with 5 additions and 2 deletions
  1. 5 2
      js/component/certify/result.jsx

+ 5 - 2
js/component/certify/result.jsx

@@ -28,7 +28,10 @@ const Content = Form.create()(React.createClass({
                 this.props.changeStep(1);
             } else {
                 message.warning(data.error[0].message);
-            }
+            };
+            this.setState({
+                loading: false
+            });
         }.bind(this));
     },
     componentWillMount() {
@@ -48,7 +51,7 @@ const Content = Form.create()(React.createClass({
                 message.warning(data.error[0].message);
             };
             this.setState({
-                loading:false
+                loading: false
             });
         }.bind(this));
     },