大约有 112 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
HttpRequest.send重复请求complete事件就不回调了 HttpRequest.send重复请求complete事件就不回调了 2017-05-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 你监听事...
来源: Laya_社区 发布时间: 20170527
HttpRequest complete回调问题 回调中获取了Request回传的数据内容并显示在页面上:在IDE中能够正常打印出来,但是在浏览器中却无法显示。 2017-02-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20170226
Laya.HttpRequest 没有调用回调方法? //初始化引擎 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); ...
来源: Laya_社区 发布时间: 20180830
HttpRequest 回调方法都没执行 LayaAir 1.7.17 beta JS版本 function postData(url,request) { this.http = new Laya.HttpRequest(); //new一个HttpRequest类 this.http.once(Laya.Event.PROGRESS,this,this.onProgress); //数据传输中 this.http.once(Laya.Event.COMPLETE,this,this.onComplete); //...
来源: Laya_社区 发布时间: 20180315
...tDispatcher — 此 EventDispatcher 对象。 请求发送: var hr = new HttpRequest(); hr.once(Event.COMPLETE, this, http.success,[1,2,3]); hr.send("http://localhost:8082/hu_get",{}, "post","json",null); 回调方法: success:function (e,args) { console.log(e); //此行可以得到响...
来源: Laya_社区 发布时间: 20180304
HttpRequest提示oauth_callback is not a valid HTTP header field name arr.push(["oauth_callback","回调网址"]);把arr作为send的最后一个参数,总是提醒oauth_callback is not a valid HTTP header field name,是哪里写错了吗 2018-04-03 添加评论 免费帖 --> 分享 微博 QZON...
来源: Laya_社区 发布时间: 20180403
HttpRequest有一定几率触发error事件 Status:0 在微信开发者工具中,调用 request.send(url + method, data, "post", "json", ["Content-Type","application/json","Authorization", "Bearer " + PlayerModel.Instance.token]); 大部分时候正常 但有20%的几率会触发error事件...
来源: Laya_社区 发布时间: 20180330
...怎么发送请求的? 如题,请问Laya.loader.load() 通过啥调用 HttpRequest的send方法的啊? 2018-04-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_XS 赞同来自: 这个你还需要自己...
来源: Laya_社区 发布时间: 20180410
ResourceVersion在调用HttpRequest.send时很慢,花费十多秒才读取到文件 ResourceVersion加载本地的资源版本管理文件manifest.json(该文件内只有空对象{ })花费时间超过十秒 追踪代码后发现HttpRequest.send之后onProgress回调特别慢 该问题目前...
来源: Laya_社区 发布时间: 20180423
...个时间轴动画里创建的多个动画,怎么分别调用?如图 HttpRequest感觉没有发成功 分享:使用 Chart.js 创建图标 创建动效模板 可能存在bug ios原生回调问题 排行榜的创建 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 IDE创建的...
来源: Laya_社区 发布时间: 20180622