// 需要加这个字段
xhrFields:{
withCredentials: true
},
type: 'POST',
dataType: 'json',
data: data,
xhrFields:{
withCredentials: true
},
跨域 post 请求 set cookie 无效
最新推荐文章于 2024-08-22 16:16:51 发布
// 需要加这个字段
xhrFields:{
withCredentials: true
},
type: 'POST',
dataType: 'json',
data: data,
xhrFields:{
withCredentials: true
},