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
请求头添加token config.headers['Authorization'] = userStore.getToken() ,请求实际打印config header里面有值,但是小程序无法识别,请求信息里面看不到设置的值
请求本地一个接口,需要token,发现设置了Authorization值,微信开发者工具那边请求头上没有设置上这个值,控制台打印 请求拦截器上有该值
The text was updated successfully, but these errors were encountered:
我也遇到这个问题了。。。
Sorry, something went wrong.
No branches or pull requests
问题是什么
请求头添加token config.headers['Authorization'] = userStore.getToken() ,请求实际打印config header里面有值,但是小程序无法识别,请求信息里面看不到设置的值
环境
在线例子
请求本地一个接口,需要token,发现设置了Authorization值,微信开发者工具那边请求头上没有设置上这个值,控制台打印 请求拦截器上有该值
报错信息
The text was updated successfully, but these errors were encountered: