@306046989 写道:
代码
var url = "http地址"
var xhr = cc.loader.getXMLHttpRequest();
xhr.onloadend = function () {};
xhr.onreadystatechange = function () {};
xhr.open("GET", url, true);
xhr.setRequestHeader("Accept-Encoding","gzip,deflate");
xhr.timeout = 5000;
xhr.send();
海马模拟器在send之后,打印一下信息,然后游戏崩溃了
帖子: 5
参与者: 1