o2team / o2team.github.io

Site of Aotu.io
https://aotu.io
MIT License
307 stars 91 forks source link

前方有坑,请绕道——Zepto 中使用 CORS #238

Open koppthe opened 3 years ago

koppthe commented 3 years ago

https://aotu.io/notes/2015/10/26/zepto-cors/index.html

一直以来,我们在移动端上面使用 zepto 并没有出现太大的问题。直至我们将 Ajax 跨域请求从 iframe 的方式切换成 CORS 之后。