yee лет назад: 7
Родитель
Сommit
a0baaaa12e
1 измененных файлов с 5 добавлено и 2 удалено
  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));
     },