最新的Demo Storage存储之后退出app数据就没了
- 发布:2017-12-11 11:01
- 更新:2018-12-27 16:08
- 阅读:1509
1***@qq.com - php,app,phpx
localStorage.setItem('siteNotice11232','okk')
alert(localStorage.getItem('siteNotice11232'));
setTimeout(function(){
alert(localStorage.getItem('siteNotice11232')+'--ok');
},3000);
荣耀7x三秒之后就没了,为什么? 换key名也没用
localStorage.setItem('siteNotice211111','okk')
alert(localStorage.getItem('siteNotice211111'));
setTimeout(function(){
alert(localStorage.getItem('siteNotice211111')+'--ok');
},3000);
简小叔 (作者)
iOS 离线打包
2017-12-11 16:51