[Web浏览器] "XMLHttpRequest cannot load http://192.168.18.29/mui/php/query_instrument_check.php?q=%E7%BB%9D%E5%AF%B9%E9%87%8D%E5%8A%9B%E4%BB%AA&p=BX-89. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8020' is therefore not allowed access." /lms/main/query_instrument.html (0)
文件都没问题,利用hbuilder查询后就出现这个问题,php解析文件放在外置服务器上,难道是hbuilder的内置浏览器不支持ajax?
1 个回复
giddens
看描述应该是ajax跨域的问题,在服务端的xml里加个配置吧