为了账号安全,请及时绑定邮箱和手机立即绑定

Access to XMLHttpRequest at 'http://www.test.com/index.php/article' from origin 'http://127.0.0.1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 什么错


Access to XMLHttpRequest at 'http://www.test.com/index.php/article' from origin 'http://127.0.0.1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

正在回答

2 回答

跨域问题,需要解决跨域;

  1. jsonp 

  2. 代理

  3. cors

0 回复 有任何疑惑可以回复我~

跨域问题

0 回复 有任何疑惑可以回复我~
#1

慕函数8529687 提问者

有解决方法吗?
2019-06-20 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
使用vue2.0实现购物车和地址选配功能
  • 参与学习       96857    人
  • 解答问题       446    个

本视频教程结合案例完整贯穿各个知识点,轻松玩转vue2.0框架

进入课程

Access to XMLHttpRequest at 'http://www.test.com/index.php/article' from origin 'http://127.0.0.1' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 什么错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信