yee 7 anni fa
parent
commit
a0baaaa12e
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  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));
     },