joelewis
joelewis
  • 发布:2019-08-03 11:26
  • 更新:2019-08-03 11:30
  • 阅读:961

我在hbuildx里的右边自带的模拟器调试网页无法调试,官网不是说用自带的浏览器没问题的吗

分类:HBuilderX

如题,急啊。。。我在hbuildx里的右边自带的模拟器调试h5网页报错,官网不是说用自带的浏览器调试没问题的吗?
报的错误:XMLHttpRequest :8080/#/pages/index/index:1 cannot load https://xxxxxxxx?xxxxxxx. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8080' is therefore not allowed access.

2019-08-03 11:26 负责人:无 分享
已邀请:
得推软件工作室

得推软件工作室 - PHP全栈开发,需要外包可以@我

让后端设置下header Access-Control-Allow-Origin

  • joelewis (作者)

    好的,谢谢

    2019-08-03 12:44

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