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

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

11. ts如何获取客户端IP地址 [ 57%]

...', data: { }, method: 'POST', header: { 'content-type': 'application/x-www-form-urlencoded' }, success: function (res) { console.log('IP地址: ' + res.data.ip); Test222.IP = res.data.ip; } }); 2020-01-06 1 0 分享 微博 QZONE 微信 1560942887用户 赞同来自: 解决了 2020-01-06 0 0 分享 ...

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

12. 关于HttpRequest报错问题 [ 56%]

...T", 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); xmlHttp.on(Event.PROGRESS,this,processHandler); function onHttpRequestComplete(e){ }; fun...

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

13. 关于laya导入require.js的问题 [ 55%]

...式写的,在引用时要特殊设置 require.config({ shim: {  "jquery.form" : ["jquery"] } }) 这里就需要知道要导入库的依赖关系,然而laya的引擎库的依赖关系我们不是很清楚,这个是不是代表laya不能用require.js?   require.config({ paths: { "layaCore": ...

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

14. 为什么我的前台数据传到java后台没反应 [ 54%]

...这个后台是用JAVA写的,之前传数据是可以在页面上写<form action="userlogin" method="POST">,类似这样的,但是现在想请问下怎么把这个this.user传到java后台啊!!! 求大神帮忙解答下!!谢谢! 附件 : --> 2017-02-28 添加评论 免费帖 --...

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

15. 怎么使用http请求 [ 54%]

...open("POST", url); xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded'); xhr.send("value=" + baseStr); 这个怎么改成laya的http请求 2018-08-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个...

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

16. 求解关于跨域的具体操作 [ 52%]

...HttpRequest(); xhr.http.setRequestHeader('Content-Type','application/x-www-form-urlencoded'); xhr.once(Laya.Event.COMPLETE, this, this.completeHandler, [url, loader]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); console.log("-----------------send------------------", url); xhr.send(url, "", ...

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

17. LayaNative中偶尔会出现所有HTTP POST方式交互均无回应的问题 [ 52%]

...一样的问题。 我的POST请求全部设置了Content-Type 为 x-www-form-urlencoded 的请求头不知是否有影响。 然后在安卓中调试会看到curl_easy_perform failed, code=56的输出信息   附件 : --> 2020-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...

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

18. 打包app,http无法设置content-type [ 49%]

...务器上变成了 "{"a":1}"="",content-type也变成了application/x-www-form-urlencoded   代码如下: static httpRequest(method:string, url:string, data:any, headers:Array<string>, cb:(err:Error, data?:any)=>void) { let req = new Request(); req.on(Event.COMPLETE, this, (data) => { ...

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

19. LAYA3D,如何关闭ALPHA预乘 premultiply alpha [ 49%]

...'s CanvasRenderingContext2D store color values internally in premultiplied form. If such a canvas is uploaded to a WebGL texture with the UNPACK_PREMULTIPLY_ALPHA_WEBGL pixel storage parameter set to false, the color channels will have to be un-multiplied by the alpha channel, which is a lossy opera...

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

20. 苹果iOS审核被拒Guideline 4.3 - Design [ 48%]

... App Store; it simply varies in content or language, which is considered a form of spam. The next submission of this app may require a longer review time, and this app will not be eligible for an expedited review until this issue is resolved. Next Steps - Review the Design section of the App Store R...

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