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

大约有 40 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0049 秒)

1. 我发送http请求 为什么ide里能发送成功 手机里却发送失败 报Request failded Status 0的错误 [ 100%]

...为什么ide里能发送成功 手机里却发送失败 报Request failded Status 0的错误 2017-07-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: 不清楚,最好有个重现环境...

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

2. 手机调试时http请求错误,返回Request failed Status:0 [ 99%]

手机调试时http请求错误,返回Request failed Status:0 Laya版本为2.0,程序中用Laya.HttpRequest的send函数post请求一个地址,在layaair中启动浏览器,可以正常得到回复,但用layaair生成的二维码,通过手机扫描测试,send请求时,就会收到一...

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

3. ios打包单机版本问题,显示conchShader找不到和Status bar could not find cached time string image. 然后直接黑屏!!!!!! [ 98%]

ios打包单机版本问题,显示conchShader找不到和Status bar could not find cached time string image. 然后直接黑屏!!!!!! layabox[4357:2764240] ==JSERROR: exception info: [ReferenceError: Can't find variable: ConchShader] at line 21042 layabox[4357:2763988] Status bar coul...

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

4. request failed status0 [ 97%]

request failed status0 HttpRequest.send问题 浏览器可以COMPLETE,手机上ERROR:request failed status0 2018-01-05 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 1、If the st...

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

5. httprequest ios手机上请求提示Request failed status:0 [ 94%]

httprequest ios手机上请求提示Request failed status:0 如题 电脑上请求是正常的 手机上就不正常 2018-05-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 Laya_Aaron 赞同来自: 你有项目...

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

6. 怎么使用http请求 [ 93%]

...onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.responseText); var data = JSON.parse(xhr.responseText); //console.log(data); if (data.result_status == 1 && data.top_list) { WxRankMana...

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

7. httpRequest send返回Request failed Status:0 [ 91%]

httpRequest send返回Request failed Status:0 在本机环境下的例子中 可以正常显示图片 此图片是在玩一玩处取排行榜时返回的用户头像URL 代码如下 var WebGL = Laya.WebGL; // 程序入口 var GameMain = /** @class */ (function () { function GameMain() { //初始化...

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

8. 最新版本IDE,如何获取http返回的json数据 [ 90%]

... = function () {             if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 400)) {                 if(JSON.parse(xhr.responseText).status===1){                     console.log ('登录成功')                     cc.director.lo...

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

9. request failed status:0 text: IOS HttpRequest [ 89%]

request failed status:0 text: IOS HttpRequest 但是 在IOS 手机上 直接报错    request failed status:0 text:  dome 如下 ( IOS 浏览器 和 火狐浏览器) 打开 直接Event.ERROR  不会进入  Event.COMPLETE 点击(点我赋值) 或者 (发送请求) 按钮 模拟器...

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

10. HttpRequest有一定几率触发error事件 Status:0 [ 88%]

HttpRequest有一定几率触发error事件 Status:0 在微信开发者工具中,调用 request.send(url + method, data, "post", "json", ["Content-Type","application/json","Authorization", "Bearer " + PlayerModel.Instance.token]);   大部分时候正常  但有20%的几率会触发error事件...

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