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

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

21. TiledMap 适配微信小程序 [ 78%]

...时提示错误:  通过调试发现是在加载json文件的时候出错http.send(null) 错误  这个json文件应该是TiledMap的数据,有没有知道的大神指点一下,感激不尽。 附件 : --> 2018-07-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

22. 网络和格式-POST [ 77%]

... var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var HttpRequest = Laya.HttpRequest; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var hr, logger; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...

来源: Laya_示例 发布时间: 20250223

23. 网络和格式-GET [ 77%]

... var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var HttpRequest = Laya.HttpRequest; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var hr, logger; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.sta...

来源: Laya_示例 发布时间: 20250223

24. 如何post发送json数据中包含&&特殊字符,怎么办? [ 77%]

...3&&456", "b":"ccc"}; str="paramA="+JSON.stringify(tj); //xhr.send("http:xxx.xxx.com","a=xxxx&b=xxx","post","text"); xhr.send("http:xxx.xxx.com",str,"post","text"); 服务端解析的时候,paramA参数的值为:{"a":"123 剩下的被解析为另一个post变量了。 试了字符转...

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

25. HttpRequest如何发送JSON数据 [ 77%]

HttpRequest如何发送JSON数据 发送JSON数据         var logReq = new laya.net.HttpRequest();         logReq.once(Laya.Event.COMPLETE,this,this.onComplete);         logReq.send("http://127.0.0.1:3001/login", "username: 'lxd', password: 'lxd'",         'post', "json...

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

26. request failed status:0 [ 77%]

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

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

27. 网络和格式-POST [ 77%]

...gColor = "#232628"; this.connect(); this.showLogger(); } connect() { const HttpRequest = Laya.HttpRequest, Event = Laya.Event; hr = new HttpRequest(); hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); hr.once(Event.ERROR, this, this...

来源: Laya2.0_示例 发布时间: 20250223

28. 网络和格式-GET [ 77%]

...gColor = "#232628"; this.connect(); this.showLogger(); } connect() { const HttpRequest = Laya.HttpRequest, Event = Laya.Event; hr = new HttpRequest(); hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Event.COMPLETE, this, this.onHttpRequestComplete); hr.once(Event.ERROR, this, this...

来源: Laya2.0_示例 发布时间: 20250223

29. Http回调是抢占式的吗? [ 77%]

Http回调是抢占式的吗? 这个跟js引擎是否有关系? 2019-04-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 Alex Hu...

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

30. Native下http请求,Error事件中的error对象错误码全都是404 [ 76%]

Native下http请求,Error事件中的error对象错误码全都是404 在native下,发送http请求,无论设置返回的errorCode是多少,返回统一都是404,但在网页版中不会有这个问题,请问这个是不是引擎的问题,还是有其他可解决的办法 2018-05-28 ...

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