添加以下属性即可携带跨域cookie
beforeSend: function (xhr) {
xhr.withCredentials = true
},
crossDomain: true,xhrFields: {
withCredentials: true
},
crossDomain: true,beforeSend: function (xhr) {
xhr.withCredentials = true
},
crossDomain: true,xhrFields: {
withCredentials: true
},
crossDomain: true,还没有评论,来说两句吧。