Danny路
Danny路
  • 发布:2018-02-22 17:15
  • 更新:2018-02-27 11:36
  • 阅读:1261

mui ajax跨域

分类:MUI

chrom调试显示options请求,状态OK 200
错误提示:
XMLHttpRequest cannot load http://172.16.3.145/api/checks. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access.

2018-02-22 17:15 负责人:无 分享
已邀请:
Danny路

Danny路 (作者)

真机测试也获取不到数据,error:function

7***@qq.com

7***@qq.com

jsonp或者服务端允许跨域试试

l***@163.com

l***@163.com

你要在你接收参数的 服务端页面允许才行

该问题目前已经被锁定, 无法添加新回复