大约有 1,931 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0065 秒)
用微信的方法获取openID和会话秘钥的方法 var code=从login方法中获取得到; var appid=小游戏的appid; var secret=小游戏的秘钥; 第四个参数为固定值 wx.request( { url:"https://api.weixin.qq.com/sns/jscode2session? appid="+appid+"&secret="+secret+"&js_code...
来源: Laya_社区 发布时间: 20180914
版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 出现这个提示, 请问怎么解决? 2017-03-29 添加评论 免费帖 ...
来源: Laya_社区 发布时间: 20170329
...ID' of undefined at Timer.__proto._getHandler (http://127.0.0.1:55825/game/code.js:22446:17) at Timer.__proto._create (http://127.0.0.1:55825/game/code.js:22320:21) at Timer.__proto.once (http://127.0.0.1:55825/game/code.js:22365:8) at MyData.__proto.catchCard ( 于是我定位到编译好的code.js...
来源: Laya_社区 发布时间: 20180520
...按F5到启动完成界面打开10秒左右。 现在想改成使用 VS Code 来编译,在 VS Code 编译时出现如下错误(laya 包找不到,我自己定义的包也找不到): 请问:使用 VS Code 来编译之前用 LayaAir 创建的 TS adh项目,需做哪些处理才能正常...
来源: Laya_社区 发布时间: 20170925
...ous>) at Function.MiniAdpter.getJson (http://127.0.0.1:31158/game/code.js:21236:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:31158/game/code.js:22404:25) at Handler.__proto.runWith (http://127.0.0.1:31158/game/code.js:725:41) at Function.success (http:...
来源: Laya_社区 发布时间: 20190422
...rse (<anonymous>) at Function.e.getJson (http://127.0.0.1:37389/game/code.js:1:461434) at Function.e.onReadNativeCallBack (http://127.0.0.1:37389/game/code.js:1:514598) at t.e.runWith (http://127.0.0.1:37389/game/code.js:1:11995) at Function.success (http://127.0.0.1:37389/game/code.js:1:46588...
来源: Laya_社区 发布时间: 20180725
...oncat(arr); return isArray ? result : result.join(""); } little_endian(charCode: number) { return this.split(this.padding(charCode.toString(16), 8, "0", false), 2).reverse().join(""); } range(...args: number[]) { const start: number = args.length === 1 ? 0 : args[0]; const end: number = args.length ...
来源: Laya_社区 发布时间: 20190321
...接使用new 。 tobe • 2018-07-02 17:34 /** * <p>创建一个 <code>HTMLImage</code> 实例。</p> * <p>请使用 <code>HTMLImage.create()<code>创建实例,不要直接使用 <code>new HTMLImage<code> 。 **</p> */ public static var c...
来源: Laya_社区 发布时间: 20180702
...mous>) at Function.MiniAdpter.getJson (http://127.0.0.1:9973/game/code.js:20980:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:9973/game/code.js:21386:25) at Handler.__proto.runWith (http://127.0.0.1:9973/game/code.js:712:41) at Function.success (http://...
来源: Laya_社区 发布时间: 20180205
...ined ReferenceError: __class is not defined at http://127.0.0.1:56728/game/code.js:53274:3 at http://127.0.0.1:56728/game/code.js:53276:4 at require (http://127.0.0.1:56728/game/__ ... :13675) at http://127.0.0.1:56728/game/__ ... 13424 at http://127.0.0.1:56728/game/game.js:4:1 at require (http://1...
来源: Laya_社区 发布时间: 20180506