Commit 8f2a11f0 authored by 刘明珠's avatar 刘明珠

修改错误信息提示

parent 69f23011
...@@ -270,7 +270,15 @@ function initPage(companyInfo) { ...@@ -270,7 +270,15 @@ function initPage(companyInfo) {
}, },
error: function(xhr){ error: function(xhr){
//jsonp 方式此方法不被触发 //jsonp 方式此方法不被触发
if(data.returnMessage==undefined){
if(data.returnMessage==undefined){
alertWarning(data.errmsg);
}else{
alertWarning("程序报错,请联系管理员!");
}
}else{
alertWarning(data.returnMessage); alertWarning(data.returnMessage);
}
hideLoading() hideLoading()
console.log("=======error======================") console.log("=======error======================")
} }
......
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