Uncaught (in promise) TypeError: Cannot read property ‘cancelToken‘ of undefined 报错 蔚落 2022-09-04 04:55 151阅读 0赞 在页面中发送axios请求时,报Uncaught (in promise) TypeError: Cannot read property ‘cancelToken’ of undefined **解决方法**,在axios拦截器中 > return config; // 添加这一行 [vue 自定义请求头参数][vue] [vue]: https://blog.csdn.net/weixin_43900414/article/details/119597559?spm=1001.2014.3001.5501
还没有评论,来说两句吧...