- 博客(3)
- 收藏
- 关注
原创 ie ajax Access-Control-Allow-Headers 列表中不存在请求标头 content-type
加入 xhrFields: {withCredentials: true}即可:$.ajax({ type: 'GET', url: url, async: false, dataType: 'json', xhrFields: {withCredentials: true}, data:{'token': token}, success: function(res) { console.log("ajax", res) },});
2021-12-28 15:47:22
624
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人