/*修改默认编码*/
$.ajaxSetup({
ajaxSettings:{contentType:"application/x-www-form-urlencoded;chartset:utf-8"}
});
//感觉没有效果
/*修改默认编码*/
$.ajaxSetup({
ajaxSettings:{contentType:"application/x-www-form-urlencoded;chartset:utf-8"}
});
//感觉没有效果
转载于:https://www.cnblogs.com/loce/p/5642902.html