HBuilder mui 报错No 'Access-Control-Allow-Origin' header

 Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.android

 网页浏览器 mui ajax 调用服务器地址时报上面错误,网上说 跨域问题,”调试的时候chrome控制台报错,而后给chromd增长一个启动参数 --disable-web-security就好了”,可是一直不起做用,最后仍是用android直接调试了,若是有解决方法,也请你们告知一下,谢谢。web

相关文章
相关标签/搜索