Access to XMLHttpRequest at '*url*' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. GET *url* net::ERR_FAILED
其他
2020-04-18 12:34:13
阅读次数: 0
requirejs ajax错误
修改
添加
crossDomain: true,
dataType: 'jsonp'
如图
转载自www.cnblogs.com/yyz2013/p/12725020.html