We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.0.13
Vue
大佬打扰了,我的alova是3.0.13版本,我想让请求带上cookie
createAlova({ ... requestAdapter: adapterFetch(), beforeRequest(method) { method.config.credentials = 'include' method.config.referrerPolicy = 'no-referrer' method.config.mode = 'cors' } })
这样写不管用呢,请问哪里不对呢
No response
The text was updated successfully, but these errors were encountered:
跨域cookie需要服务端设置正确的响应头。
跨源资源共享
Sorry, something went wrong.
MeetinaXD
No branches or pull requests
这是否是一个 Bug?
这个问题是否已经存在?
Alova 版本
3.0.13
前端框架
Vue
问题描述
大佬打扰了,我的alova是3.0.13版本,我想让请求带上cookie
createAlova({
...
requestAdapter: adapterFetch(),
beforeRequest(method) {
method.config.credentials = 'include'
method.config.referrerPolicy = 'no-referrer'
method.config.mode = 'cors'
}
})
这样写不管用呢,请问哪里不对呢
期望的表现
No response
复现链接
No response
复现步骤
大佬打扰了,我的alova是3.0.13版本,我想让请求带上cookie
createAlova({
...
requestAdapter: adapterFetch(),
beforeRequest(method) {
method.config.credentials = 'include'
method.config.referrerPolicy = 'no-referrer'
method.config.mode = 'cors'
}
})
这样写不管用呢,请问哪里不对呢
系统信息
No response
补充说明
No response
The text was updated successfully, but these errors were encountered: