Commit b12a2996 by 梁建民

css

parent 7351b98f
Showing with 4 additions and 4 deletions
...@@ -23,19 +23,19 @@ ...@@ -23,19 +23,19 @@
if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)) { if ((navigator.userAgent.indexOf('MSIE') >= 0) && (navigator.userAgent.indexOf('Opera') < 0)) {
dataTypeXpx = "jsonp"; dataTypeXpx = "jsonp";
} }
// if(isheader){ if (isheader) {
$.ajaxSetup({ $.ajaxSetup({
headers: { headers: {
Authorization: 'Bearer ' + Util.getCookie('token') Authorization: 'Bearer ' + Util.getCookie('token')
}, },
}); });
// }; }
$.ajax({ $.ajax({
type: type, type: type,
url: url, url: url,
data: params, data: params,
dataType: 'json', dataType: dataTypeXpx,
xhrFields: { xhrFields: {
withCredentials: true withCredentials: 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 sign in to comment