在 Axios 请求中设置 withCredentials 为 true
withCredentials
true
示例代码:
axios.get('https://example.com/api/data', { withCredentials: true })
上一篇:Axios并行请求
下一篇:Axios不返回任何内容