[]apk中获取不到本地保存数据
代码中通过setItem设置本地数据存储,但在apk包中好像没有生效//存储指定键名和键值,字符串类型。
Laya.LocalStorage.setItem("LayaBox","H5引擎!");
//获取指定键名的值。
Laya.LocalStorage.getItem("LayaBox");
Laya.LocalStorage.setItem("LayaBox","H5引擎!");
//获取指定键名的值。
Laya.LocalStorage.getItem("LayaBox");
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
浪货界扛把子
赞同来自:
2是电脑上layaair ide的log