Indi
Time Friend time-friend.com

fetch 在跨域的情况下,不带cookie; 解决办法: 带上参数{credentials: ‘include’}后才可以在请求里面带上cookie fetch ( 'doAct.action' , { credentials : 'include' }). then ( function ( res ) { // ... })…

讨论

还没有评论,来说第一句吧。

Time Friend 的其他文章