Commit be6ada75 by Joey

fix(@gms/gms-plugin-billexpand): 工会取回按钮错误提示

parent b61b1c74
...@@ -18,10 +18,13 @@ export default { ...@@ -18,10 +18,13 @@ export default {
} }
else { else {
const { data } = res const { data } = res
data.message && GMS.$hideContainer.$Message.error({ if (data.message) {
content: errorMessageUtil.submitAction.getErrorMessage(data.message), const errMsg = data.message.split('nested exception is')
duration: 3 GMS.$hideContainer.$message.error(errMsg && errMsg[1] || '操作异常请联系管理员');
}); }
else {
GMS.$hideContainer.$message.error("操作异常请联系管理员");
}
} }
bill.setControlsSate(param["_control_name_"], "loading", false) bill.setControlsSate(param["_control_name_"], "loading", false)
bill.setControlsSate(param["_control_name_"], "enable", true) bill.setControlsSate(param["_control_name_"], "enable", true)
......
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