• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 7 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0024 秒)

1. xhrononce什么区别,官网例子 [ 100%]

...w HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); 2017-10-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

来源: Laya_社区 发布时间: 20171017

2. HttpRequest感觉没有发成功 [ 99%]

...a.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("https://www.baidu.com","","get","text"); function processHandler(data){ console.log(data); c...

来源: Laya_社区 发布时间: 20180827

3. Laya.HttpRequest 没有调用回调方法? [ 89%]

...a.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("https://www.baidu.com/","","get","text"); function processHandler(data){ console.log(data); ...

来源: Laya_社区 发布时间: 20180830

4. 排坑:Laya.HttpRequest()无效 [ 86%]

...a.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://www.baidu.com", "", "get", "text"); function processHandler(data) { console.log...

来源: Laya_社区 发布时间: 20180208

5. 官方的示例贴上来,怎么没反映啊 [ 85%]

...a.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("https://api.weixin.qq.com/cgi- ... ot%3B, "", "get", "text"); function processHandler(...

来源: Laya_社区 发布时间: 20180419

6. web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined [ 80%]

...相关的链接 提交 2 个回复 金风 赞同来自: this.xhr.once(Laya.Event.COMPLETE, this, this.CompleteHandler); this.xhr.once(Laya.Event.ERROR, this, this.ErrorHandler); this.xhr.on(Laya.Event.PROGRESS, this, this.ProgressHandler); this.xhr.send(Global.WebHost+this.currentRequest.url, this.c...

来源: Laya_社区 发布时间: 20200629

7. 关于LayaBox启动的问题。 [ 49%]

...mLock = java.lang.Object@371aea59, mLastTimeSender = 0} D/IC5 ( 4543): readEventLogs : User_activity-->1489977325537753559 :com.yunos.tv.homeshell D/IC5 ( 4543): readEventLogs : am_on_paused_called--> packnameString = 1489977325752612684 :com.yunos.tv.homeshell D/IC5 ( 4543): readEventLogs : a...

来源: Laya_社区 发布时间: 20170320