为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:本地访问服务器上的接口 获取数据 提示跨域错误
相关截图(日志、错误):localhost/:1 Access to XMLHttpRequest at 'http://49.234.57.173/cha.php?qhao=1' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
|
|