Uncaught (in promise) TypeError: Cannot read property ‘error’ of undefined at __webpack_exports__.a

Uncaught (in promise) TypeError: Cannot read property 'error' of undefined     at __webpack_exports__.a

 

 是因为在 axios 请求拦截的时候做了 state 的判断 去掉判断就好了

Uncaught (in promise) TypeError: Cannot read property 'error' of undefined     at __webpack_exports__.a

 

Related Posts

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注