3***@qq.com
3***@qq.com
  • 发布:2017-08-09 21:39
  • 更新:2017-08-09 22:49
  • 阅读:1522

官方demo,列表到详情最佳实践,报跨域错误

分类:MUI

具体报错如下:
XMLHttpRequest cannot load http://spider.dcloud.net.cn/api/banner/36kr?column=id%2Cpost_id%2Ctitle%2Cauthor_name%2Ccover%2Cpublished_at. Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers.
XMLHttpRequest cannot load http://spider.dcloud.net.cn/api/news?column=id%2Cpost_id%2Ctitle%2Cauthor_name%2Ccover%2Cpublished_at. Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers.

内容出不来,我用的是安卓4.1.2。换一台手机,例如安卓6.0的手机,就没有这个问题。请问低版本手机如何解决?

2017-08-09 21:39 负责人:无 分享
已邀请:
猫猫猫猫

猫猫猫猫 - 用户已离线

有bug,等官方解决,着急的话,就离线打包。

要回复问题请先登录注册