web的时候是这样,一般这种情况是什么问题啊
文字缩进4格var xhr = cc.loader.getXMLHttpRequest();
xhr.responseType =“text”;
xhr.open(“POST”, “http://gw.king.tubutu.com/init”);
xhr.onreadystatechange = function(){
cc.log("request result",xhr.status,xhr.statusText);
}.bind(this);
cc.log("send send send");
xhr.send("isdev=0&base_client=1.0.0&udid=097&pfid=hhdev&chid=");
同样的状态返回3次