代理不是对本地不起作用么,再说和 cros 有什么关系啊,纯粹是好奇一问。
Access to XMLHttpRequest at 'http://xx.xxxxxx.com/' from origin 'http://localhost' 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.
Access to XMLHttpRequest at 'http://xx.xxxxxx.com/' from origin 'http://localhost' 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.