现在提示:Access to XMLHttpRequest at ‘http://127.0.0.1/api/login’ from origin ‘http://127.0.0.1:8080’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
这个跨域问题要怎么解决呢?谢谢