Commit 47672e32 by 姜雷

修改报修页面

parent ccc46150
......@@ -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