浏览器正常返回结果但是 Axios TypeError: Cannot read properties of undefined (reading 'protocol')?
大佬们问一下,我这更新token的时候把其他请求的接口存起来后重新请求浏览器是返回是正常的,但是响应那边会走error函数里面console.log("222会是响应吗", error);这是为什么,会报错。按着错误提示如果请求参数缺少那浏览器上的请求根本不能成功啊TypeError: Cannot read properties of undefined (reading 'protocol')...
2 回答2.1k 阅读✓ 已解决