在axios中想让请求后端的时候携带cookie也是极为简单的;只需要加上axios.defaults.withCredentials = true 来源:oschina链接:https://my.oschina.net/u/4347624/blog/4302873 标签 axios