浏览器console报错:
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is
解决:
服务端加入代码:
header('Access-Control-Allow-Origin:*');
1
浏览器console报错:
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is
解决:
服务端加入代码:
header('Access-Control-Allow-Origin:*');
1
转载于:https://www.cnblogs.com/Skate0rDie/p/10600230.html