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

跨域问题及Controller注解解决办法
1699

被折叠的 条评论
为什么被折叠?



