大约有 151 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0039 秒)
Laya_社区(139) Laya2.0_文档(4) Laya3.0_文档(3) laya_api(1) Laya_示例(1) Laya3.0_api(1) Laya2.0_示例(1) Laya2.0_api(1)
...7 16:23 浏览: 1187 关注: 4 人 老衲当时慌了 • 2019-11-15 17:07 http://blog.asroads.com/post/477a1888.html 祈祷 • 2019-03-15 18:46 拜谢 Yangcy • 2019-05-31 16:31 as 怎么搞的 完全按照demo走 都显示不出来,向子域传递的信息都能收到,就是不展示在主...
来源: Laya_社区 发布时间: 20181124
怎么使用http请求 httpRequest: function (url, data) { var xhr = cc.loader.getXMLHttpRequest(); if (!xhr.onreadystatechange) { xhr.onreadystatechange = function () { if (xhr.readyState == 4 && (xhr.status >= 200 && xhr.status <= 207)) { //cc.log("response:\n" + xhr.respons...
来源: Laya_社区 发布时间: 20180807
...一个json的科普文档,没有说一行怎么用,感受一下吧:http://ldc.layabox.com/doc/?nav=zh-ts-1-6-3 2017-11-26 1 0 分享 微博 QZONE 微信 jiayiyi 赞同来自: this.hr.send(url, JSON.stringify(js),"post"); 已经解决 2017-05-09 0 0 分享 微博 QZONE 微信 cuixueying 赞同...
来源: Laya_社区 发布时间: 20170509
关于HttpRequest报错问题 var xmlHttp = new Laya.HttpRequest(); xmlHttp.open("POST", url, true); xmlHttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=utf-8"); xmlHttp.once(Event.COMPLETE,this,onHttpRequestComplete); xmlHttp.once(Event.ERROR,this,errorHandler); xml...
来源: Laya_社区 发布时间: 20180202
Http 请求里用来接收返回数据的data导致clearRes不能从内存里清理资源 Http 请求里用来接收返回数据的data导致clearRes不能从内存里清理资源。 如果我请求了一个http资源,然后在调用clearRes清理掉这个资源,但是由于没有再次请求ht...
来源: Laya_社区 发布时间: 20171129
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
如何屏蔽运行中的app由于http请求出错弹出的提示或者其它报错信息 在测试APP时,由于请求的地址是错误的,所以弹出了提示信息,但是发行之后,并不希望有这样的提示,如何屏蔽掉? 附件 : --> 2017-02-26 添加评论 免费帖 --> ...
来源: Laya_社区 发布时间: 20170226
laya2.0 http 发送请求跨域报错 这边用原生xmlhttprequest发送请求正常,用laya.httprequest 发送请求报错。 Access to XMLHttpRequest at 'file:///C:\Users\pc\AppData\Roaming\Tencent\QQ\Temp\%W@GJ$ACOF(TYDYECOKVDYB.pnghttp://gs.mingdikeji.com/passion//system/getVersion' ...
来源: Laya_社区 发布时间: 20190805
部署web后无法请求访问HTTP API接口数据,调试模式下可以访问获取 Access to XMLHttpRequest at 'http://192.168.3.70:8081/api/test?data=test' from origin 'http://192.168.3.70:8082' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: N...
来源: Laya_社区 发布时间: 20200609
...叠 要回复问题请先登录 发起人 球块 相关问题 TypeScript下HttpRequest发送Post请求有Bug? new Laya.Sprite();绘制图形以后,怎么删除释放资源? web端打包发布后能不能自动删除console.log LayaNative ios上js访问不到JSBridge类中的方法,请求官方...
来源: Laya_社区 发布时间: 20240711