功能应该在jQuery 1.5中被破坏。
从jQuery 1.5.1开始,您应该使用xhrFields参数。
$.ajaxSetup({ type: "POST", data: {}, dataType: 'json', xhrFields: { withCredentials: true }, crossDomain: true});文件:http://api.jquery.com/jQuery.ajax/
报告的错误:http :
//bugs.jquery.com/ticket/8146



