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
axios网络请求的封装的自定义header怎么设置?请给个示例,比如设置token等
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
commonHeader 在哪声明的,需要设置多个呢?
commonHeader就是普通一个AxiosHeader的对象。 let commonHeader = new AxiosHeader() 你说的设置多个是什么意思?commonHeader.set可以多次调用的,例如set(“Token”),set("PhoneType")等
好的,感谢
No branches or pull requests
axios网络请求的封装的自定义header怎么设置?请给个示例,比如设置token等
The text was updated successfully, but these errors were encountered: