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

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

21. 请问Laya.HttpRequest可以get请求Https地址么? [ 73%]

请问Laya.HttpRequest可以get请求Https地址么? 我请求微信登录的access_token,是一个Https地址,但是一直返回错误  request failed status0  text:,但是我把请求地址换成官网demo的地址'http://xkxz.zhonghao.huo.inner.layabox.com/api/getData?name=myname&...

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

22. 用Wkwebview打包工程,h5内发送httpRequest请求报501错误 [ 72%]

用Wkwebview打包工程,h5内发送httpRequest请求报501错误 引擎版本1.8.5,Native版本1.0.6 使用项目类型XCode IOS,可以正常跑 但是使用项目类型wkwebview,h5中发送HttpRequest请求,会请求失败,status是501 请问这两个项目类型是否是一种采用U...

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

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

...gin = function (){ console.log ('按了登录按钮')  var xhr = new Laya.HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.once(Event.PROGRESS,this,processHandler);  var sendData = {account:"...

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

24. iOS wkWebView [ 70%]

... private connect(): void { console.log("connect...."); this.hr = new Laya.HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this.hr.se...

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

25. HttpRequest问题 [ 68%]

HttpRequest问题 我现在用js代码通过http访问   在laya引擎里测试是有数据返回的,请求是成功的。。 但是发布成h5项目之后,布置好服务器。。打开链接点击请求访问时,却访问失败,返回错误码:Request failed Status:0 text   请问这...

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

26. Image.skin = 'https://..../head1.jpg' 报Failed to load:https://..../head1.jpg [ 67%]

...1 (use -v to see invocation) web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined Request failed Status:404 text:undefined Array buffer allocation failed 问题状态 最新活动: 2018-11-21 11:02 浏览: 975 关注: 1 人

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

27. 引擎中的修改意见 [ 65%]

... text = text.replace("{" + i + "}", args[i]); } this._text = text; } } 3、HTTPRequest中错误输出:前面的statusstatusText都是空的 根本打印不出任何东西。 /** * @private * 请求出错侦的听处理函数。 * @param e 事件对象。 */ protected function _onError(e:*):void...

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

28. http在手机端上请求返回404 [ 65%]

...H5游戏,退到后台,等几秒返回音乐音效全无 TypeScript下HttpRequest发送Post请求有Bug? 1.7.15 小游戏3d 发布后在手机预览显示异常 我刚开始使用layabox,发布了一个h5,但是手机上应该怎么打开这个网页呢 打包android版本 点击返回键会...

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

29. apk闪退 堆栈 [ 64%]

...语文本显示缺笔少划 web和微信端没有问题,打包成apk后 httprequest报Request failed Status:404 text:undefined 问题状态 最新活动: 2019-05-14 17:40 浏览: 894 关注: 2 人

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

30. post提交问题 [ 63%]

post提交问题 XMLHttpRequest cannot load http://xxx.xxx.xxx/subData. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'file://' is therefore not allowed access. The response had HTTP status code 500. 后台是用c#写的,请问出现这问题怎么解决,...

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