|
@@ -513,11 +513,10 @@ const ContractDetailForm = Form.create()(React.createClass({
|
|
message.success('保存成功!');
|
|
message.success('保存成功!');
|
|
this.props.clickOk();
|
|
this.props.clickOk();
|
|
this.props.form.resetFields();
|
|
this.props.form.resetFields();
|
|
- this.props.spinState(false);
|
|
|
|
} else {
|
|
} else {
|
|
message.warning(data.error[0].message);
|
|
message.warning(data.error[0].message);
|
|
- this.props.spinState(false);
|
|
|
|
- }
|
|
|
|
|
|
+ };
|
|
|
|
+ this.props.spinState(false);
|
|
}.bind(this));
|
|
}.bind(this));
|
|
}
|
|
}
|
|
});
|
|
});
|