Access to XMLHttpRequest at 'http://localhost:8230/user/member/login' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
昨天写代码为了获取token加了一个拦截器,今天上来写代码懵逼了,无法登陆。拦截器拦截了跨域请求,我真是....
我脑残,在拦截器没想清逻辑,有返回false,我吐了。