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

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

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

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

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

12. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 65%]

...-rev gulp-rev-collector gulp-rev-delete-original gulp-uglify-es iconv-lite request require-dir rollup rollup-plugin-glsl rollup-plugin-typescript2   b)、右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules,在该目录中查看上一步中找到...

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

13. 引擎中的修改意见 [ 64%]

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

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

14. 请问我用下面的代码发送个简单的http get请求,为什么在电脑上能得到成功输出,在手机上总是得到失败输出呢? [ 62%]

...151.248/sf_serve ... 3B%3B alert("url=" + url); var req = new laya.net.HttpRequest(); req.on(laya.events.Event.COMPLETE, null, cb_onSuccess); req.on(laya.events.Event.ERROR, null, cb_onFail); req.send(url); } function cb_onSuccess(response) { alert("response=" + response); // 成功输出:{"ret":1...

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

15. 关于LayaBox启动的问题。 [ 56%]

...: TBSEngine:_sendlog I/saveToStorage( 8298): TBSEngine:commit to storage I/request[transfer_data]( 8298): TBSEngine:skip[no logs] I/saveToStorage( 8298): TBSEngine:commit to storage D/Analytics.CommitTask.4888.1513( 4888): [run] CommitTask,check&commit event:65502 D/Analytics.CommitTask.4888.151...

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

16. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 51%]

...overlay 01-06 17:34:41.551 899 899 I C01610/ZDDS: KVDBServiceStub::OnRemoteRequest: code:4 callingPid:797 01-06 17:34:41.552 899 899 I C04110/DHDM: [devicemanagerkit][GetTrustedDeviceList]:GetTrustedDeviceList start, pkgName: ohos.distributeddata.service, extra: 01-06 17:34:41.552 899 899 I C04110/D...

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