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
return axios.get("/public/code", { params: params, responseType:'arraybuffer' }); 已设置responseType但是在axios.interceptors.request.use并不生效,axios.interceptors.response.use返回的里面也不生效。然后在请求拦截器里面手动设置也不生效。 最终在PanJiaChen/vue-element-admin#1466 这个里面也发现类似的问题。 我这边目前的解决办法是吧mock给注释了 就可以正常使用了
The text was updated successfully, but these errors were encountered:
@caoxiaotong 这个好像是mockjs的问题。不过如果你有自己的接口可以替换mockjs。
Sorry, something went wrong.
No branches or pull requests
Basic Info
Steps to reproduce
return axios.get("/public/code", {
params: params,
responseType:'arraybuffer'
});
已设置responseType但是在axios.interceptors.request.use并不生效,axios.interceptors.response.use返回的里面也不生效。然后在请求拦截器里面手动设置也不生效。 最终在PanJiaChen/vue-element-admin#1466 这个里面也发现类似的问题。
我这边目前的解决办法是吧mock给注释了 就可以正常使用了
The text was updated successfully, but these errors were encountered: