admin管理员组

文章数量:1640985

前端请求ArcGIS Server 报错:from origin 'http://127.0.0.1:5501' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://127.0.0.1:5500' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

同一电脑同一请求同一服务数据,关掉一个数据服务请求(前端或其他),F12,长按鼠标右键,清除缓存即可。

本文标签: 报错setrequestServerArcGIS