Access to XMLHttpRequest at 'http://localhost:9080/login' from origin 'http://localhost:8010' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
意思是:cors阻止了你请求的资源(跨域问题);
解决办法Controller类加注解
@CrossOrigin