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

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

81. layaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta [ 53%]

...ayaAirIDE中如何使用wx等微信基础对象,ide版本1.7.19.1beta wx.login({ success: function () { wx.getUserInfo({ success: function (res) { console.log('success', res) }, fail: function (res) { console.log("reject",res) } }) } }); 这段代码里的wx对象,报错如下 "wx is not defined...

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

82. 嵌套类型的protobuf报错 [ 53%]

嵌套类型的protobuf报错 message LoginResult {  required int32 result = 1;  optional string authToken = 2;  repeated ServerInfo serverList = 3;  optional int32 platformErrorCode = 4;  optional string par1 = 5;  optional string par2 = 6;  optional string recommendedUId = 7; } message Ser...

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

83. http无响应 [ 52%]

...提交没反应呢? 单独用在其它文件也是没有反应,  var LoginView = (function (_super) { function LoginView() { LoginView.super(this); //调用父类构造函数 this.dlg; } function connect() { var hr = new Laya.HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); ...

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

84. websocket连接出错 [ 52%]

...er(msg){ console.log(event); //接收到数据触发函数 // socket.emit('login',{username:123}) } function closeHandler(e){ //关闭事件 } 2018-11-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...

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

85. Native打包的横竖屏问题 [ 52%]

.../Feb/2017:20:31:35 +0800] "GET /Cherry/Flex/deploy/static/1.170206/js/login.js?f5131b97bf HTTP/1.1" 200 724

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

86. Laya3.0 工程内的bundle.js文件存在某个类 导出微信工程后bundle.js又将该类裁剪了 [ 51%]

...类被裁剪掉了,这种情况要怎么避免   @FGUIComponent("ui://login") export class TFrmLogin extends TGenFrmLogin {      onConstruct(): void {         super.onConstruct();     }  } 附件 : --> 2023-05-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

87. 1.7.3之后的版本,重复类名出现bug [ 51%]

...ntroller.StartUpCommand',_super); __class(StartUpCommand,'com.game.modules.login.controller.StartUpCommand',_super,'StartUpCommand$1'); __class(StartUpCommand,'com.game.shell.controller.StartUpCommand',_super,'StartUpCommand$3');   我全文搜了下来。就没发现有 StartUpCommand$2 这个。...

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

88. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 51%]

...户信息的接口实现方法,wx.createUserInfoButton     function gameLogin()     {         wx.login(         {             success: (res) =>              {                 if (res.code)                  {                     code= res.code; ...

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

89. 关于项目分包的问题?? [ 50%]

...gn; import flash.display.StageScaleMode; import flash.events.Event; import login.LoginView; [SWF(width=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientat...

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

90. iOS-App内购(TypeScript-LayaNative原生服务-LayaNative进阶) [ 50%]

...中 调用充值函数. (这里会调用原生开发语言中对应的LP_Login方法) conchMarket.recharge(json,function(jsonString) {      var pJson = JSON.parse(jsonString);      console.log("code:"+ pJson .code);      console.log("product_id:"+ pJson.product_id);     ...

来源: Laya2.0_文档 发布时间: 20210715