1
stiekel 2016-03-18 06:41:58 +08:00
我也遇到同样问题
Fetch API cannot load https://www.v2ex.com/api/topics/hot.json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. 换作 reddit 的 API ,或者我写的其它服务器上的 API ,就可以正常的获取了。 |