老师您好!
用反向代理联调 也会遭遇跨域问题,请求指教?
附:
Access to XMLHttpRequest at ‘http://localhost:8000/api/user/login’ from origin ‘http://localhost: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.
login.html:100 POST http://localhost:8000/api/user/login net::ERR_FAILED