Commit 90996fcd by txy

'调整错误提示'

parent dc1565ca
...@@ -121,18 +121,11 @@ function getOrgNameFn(callback) { ...@@ -121,18 +121,11 @@ function getOrgNameFn(callback) {
} }
}, },
error: function(data) { error: function(data) {
// $.dialog({
// type : 'tips',
// autoClose : 3000,
// infoText : '找不到此机构'
// });
$.dialog({ $.dialog({
type : 'tips', type : 'tips',
autoClose : 3000, autoClose : 3000,
infoText : data.message infoText : data.responseJSON.message
}); });
console.log('11111111111111111')
alert(getToken())
} }
}) })
} }
...@@ -338,7 +331,7 @@ function voteClickFn(params, successCallback, errorCallback){ ...@@ -338,7 +331,7 @@ function voteClickFn(params, successCallback, errorCallback){
}else if (data.status >= 400) { }else if (data.status >= 400) {
// 异常处理 // 异常处理
$.dialog({ $.dialog({
contentHtml : '<p style="text-align:center;">'+ data.message +'</p>' contentHtml : '<p style="text-align:center;">'+ data.responseJSON.message +'</p>'
}); });
} }
gb_vote_loaded = false; gb_vote_loaded = false;
......
...@@ -147,7 +147,7 @@ function btnBindClick() { ...@@ -147,7 +147,7 @@ function btnBindClick() {
}else { }else {
// 异常处理 // 异常处理
$.dialog({ $.dialog({
contentHtml : '<p style="text-align:center;">'+ data.message +'</p>' contentHtml : '<p style="text-align:center;">'+ data.responseJSON.message +'</p>'
}); });
} }
}, },
......
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