这边用原生xmlhttprequest发送请求正常,用laya.httprequest 发送请求报错。
Access to XMLHttpRequest at '
http://gs.mingdikeji.com/passion//system/getVersion' from origin '
http://192.168.50.231:8900' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
在电脑上运行都没问题,在手机上就报错。电脑上出现了不了这个问题。
