Commit 95bbe167 by 姜雷

Merge branch 'develop' into 'test'

修改报修页面 See merge request !24
parents b8aa1060 47672e32
......@@ -210,13 +210,13 @@ class ReprtRepair extends Component {
Toast.success(data.msg);
history.replace('/repair/RepairList');
} else {
Promise.reject({ msg: data.msg });
throw data.msg;
}
})
.catch(err => {
console.log(err);
// Toast.hide();
Toast.fail(err.msg || '提交失败!');
Toast.fail(err.msg || err.message || '提交失败!');
});
};
resetDialog = () => {
......
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