Uncaught (in promise) TypeError: Cannot read property ‘error’ of undefined at __webpack_exports__.a webpack文章/教程 白墨 • 2023年3月10日 • 0 Comment 是因为在 axios 请求拦截的时候做了 state 的判断 去掉判断就好了