Commit 4c7fe461 by 向童

测试

parent acb600bd
...@@ -203,14 +203,14 @@ class ReprtRepair extends Component { ...@@ -203,14 +203,14 @@ class ReprtRepair extends Component {
const { history } = this.props; const { history } = this.props;
console.log('resetForm'); console.log('resetForm');
this.resetApplyForm(); this.resetApplyForm();
Toast.hide(); // Toast.hide();
Toast.success(data.msg); Toast.success(data.msg);
history.replace('/repair/RepairList'); history.replace('/repair/RepairList');
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);
const { data } = err; const { data } = err;
Toast.hide(); // Toast.hide();
Toast.fail(data.msg || '提交失败!'); Toast.fail(data.msg || '提交失败!');
}); });
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment