ant-design/ant-design-pro
The issue has been closed
🧐[问题] 简单的登录配置,希望大神指点一下:Access to fetch at 'http://192.168.2.160:8043/user/login' from origin 'http://localhost:2529' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. #8203
Shi-Cheng posted onGitHub