8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
页面引入 mock.js 后, jquery ajax 配置 withCredentials = true 是不起作用的, 去掉 mockjs 后 withCredentials 才会起作用. 猜测 mockjs 在劫持底层 xhr 后导致不兼容 withCredentials
我的使用场景比较特殊, 一部分数据是用 mockjs 模拟, 另一部分数据来自跨域请求
The text was updated successfully, but these errors were encountered:
5f4d246
我也是部分mock部分跨域。 看了下源码, 初始化MockXMLHttpRequest时withCredentials的参数写的是false
Sorry, something went wrong.
No branches or pull requests
页面引入 mock.js 后, jquery ajax 配置 withCredentials = true 是不起作用的, 去掉 mockjs 后 withCredentials 才会起作用. 猜测 mockjs 在劫持底层 xhr 后导致不兼容 withCredentials
我的使用场景比较特殊, 一部分数据是用 mockjs 模拟, 另一部分数据来自跨域请求
The text was updated successfully, but these errors were encountered: