大约有 31 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0031 秒)
...道怎么写 之前我个人写的 不知道是不是在这个里面 var xhr = new XMLHttpRequest(); xhr.open("GET",url, true) xhr.setRequestHeader("Accept", "*/*"); xhr.setRequestHeader("Content-Type", "application/json"); 还是说用参考代码里的HttpRequest() var xhr = new Laya.HttpRequest()...
来源: Laya_社区 发布时间: 20180704
...表Achieve.json后,重新layadcc 后 第一次打开项目后日志显示xhr.get url=http://192.168.200.3:8889/configs/Achieve471a2538.json 第二次打开项目后日志还是显示xhr.get url=http://192.168.200.3:8889/configs/Achieve471a2538.json 按官网的流程图应该是发现有重新...
来源: Laya_社区 发布时间: 20190313
...时最后卡在加载界面 09-23 11:41:15.458 16178-16304/? I/LayaBox: xhr.GET url=http://192.168.0.130/release/index_app.html?app=1 09-23 11:41:15.469 16178-16271/? I/LayaBox: Download [ ]:http://192.168.0.130/release/index_app.html?app=1 09-23 11:41:23.476 16178-16271/? W/LayaBox: download er...
来源: Laya_社区 发布时间: 20170923
...-04 0 3 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: var xhr = new XMLHttpRequest(); xhr.open('GET','http://10.10.20.19:7766/version',true); xhr.onload=(e)=>{ var f = window.appcache.getCachePath()+'/version'; fs_writeFileSync(f,xhr.responseText);//把结果写到f...
来源: Laya_社区 发布时间: 20170703
...估计在微信小游戏或其他平台不行的 求大神帮忙 let xhr = new Laya.HttpRequest(); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send("https://ask.layabox.com/static ... ot%3B, "", "get", "arraybuffer"); privat...
来源: Laya_社区 发布时间: 20181010
...36, 640); for (var i = 0; i < 4; i++) { var sp = new Laya.Sprite(); var xhr = new Laya.HttpRequest(); var url = "http://thirdqq.qlogo.cn/g%3Fb% ... 3B%3B xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "ge...
来源: Laya_社区 发布时间: 20180629
...yaBox(8836): onerror UnknownError 05-10 18:07:04.196: I/LayaBox(8836): xhr.GET url=http://10.0.0.114:8900/bin/index.html 05-10 18:07:04.236: I/LayaBox(8836): Download [ ]:http://10.0.0.114:8900/bin/index.html 05-10 18:07:12.244: E/LayaBox(8836): download error: timeout, dt=8,opttimeout=1798 05...
来源: Laya_社区 发布时间: 20170510
...est 没有调用回调方法? //初始化引擎 Laya.init(1136,640); var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("http...
来源: Laya_社区 发布时间: 20180830
... xcode Log: 2018-03-15 11:24:58.264754+0800 MineSweeper6[7091:2932031] xhr.GET url=http://stand.alone.version/index.html 2018-03-15 11:24:58.265521+0800 MineSweeper6[7091:2932001] Download [ ]:http://stand.alone.version/index.html Creating context 1024, 768, 22018-03-15 11:24:58.270942+0800 MineSw...
来源: Laya_社区 发布时间: 20180315
... //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:HttpRequest = new HttpRequest(); xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.send("res/monkey2.png","","get","arraybuffer"); } private function completeHandler(data:Object):...
来源: Laya_社区 发布时间: 20171011