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

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

1. 微信小游戏 Laya.LocalStorage.getJSON 不能用吗? [ 100%]

微信小游戏 Laya.LocalStorage.getJSON 不能用吗? 使用这个会报错 2018-01-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 hill_0219 赞同来自: 如图 2018-01-16 0 0 分享 微博 QZONE 微信 h...

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

2. Laya.LocalStorage.getJSON空对象在微信小游戏中被处理为空字符串 [ 99%]

Laya.LocalStorage.getJSON空对象在微信小游戏中被处理为空字符串 var equipDataArray = Laya.LocalStorage.getJSON('equipDataArray'); 如果getJSON为空,在LayaAir IDE中获取的是null,而在微信小游戏中获取的是'';  getLocalStorage() { //清除本地存储 调试时取...

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

3. 手机上的getjson和setjson于电脑端有什么不一样的吗? [ 99%]

手机上的getjson和setjson于电脑端有什么不一样的吗? 存储的数据,在电脑端getjson显示为[2,2,1,1],手机上显示为[2,1,1,1]。 2018-07-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回...

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

4. 微信开发者工具问题 [ 67%]

...n 134     at JSON.parse (<anonymous>)     at Function.MiniAdpter.getJson (http://127.0.0.1:15089/game/code.js:10708:15)     at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:15089/game/code.js:14608:25)     at Handler.__proto.runWith (http://127.0.0.1:15089/game/code.js:115...

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

5. 2.3.0beta 各种bug [ 65%]

...}             return this._style;         }     core.js vivo下getJSON报错兼容 static getJSON(key) {                         if(Storage.support){                 var obj = Storage.items.getItem(key);                 if(obj){                     r...

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

6. 关于Laya.LocalStorage.setJSON [ 64%]

...alStorage.setJSON 我用Laya.LocalStorage.setJSON()保存数据,然后用getJSON()读取的时候是null,我到底是没保存上还是没读出来啊? 这两个方法是这么用的吗? 附件 : --> 2019-08-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

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

7. 这个怎么解决 [ 60%]

...N at position 217 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:38746/game/code.js:34118:15) at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:38746/game/code.js:41764:25) at Handler.__proto.runWith (http://127.0.0.1:38746/game/code.js:709:28) at Func...

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

8. 本地缓存LocalStorage,setJson失效 [ 60%]

...etItem("data");//这里看到有内容         var data=LocalStore.getJson("UserNameAndPwd");//这里返回undefined   请问,LocalStore.setJson有什么限制吗? 2018-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链...

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

9. 发包vivo小游戏存档问题 [ 60%]

...档问题 使用 Laya.LocalStorage.setJSON 之后再用 Laya.LocalStorage.getJSON 打印出来的一直是 Value xxxjson of type java.lang.String cannot be converted to JSONObject 如何解决啊 发包vivo不能使用 Laya.LocalStorage 做存档吗? 2019-07-22 添加评论 免费帖 --> 分享 ...

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

10. 如何解码base64_decode加密的字符串? [ 59%]

...? HttpRequest无法发送除字符串以外的数据 Laya.LocalStorage.getJSON空对象在微信小游戏中被处理为空字符串 请教关于字符串定位一个类的问题。 Laya.Text API. text属性赋值单字符串 无法正常显示 Laya.Sprite3D.load不使用Laya3D.init初始化配置...

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