原生跳转到webview 页面,window对象的localStorage没有了

原生跳转到webview 页面,window对象的localStorage没有了

HarmonyOS
2024-05-07 21:48:30
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
十根玉米

web组件支持 localStorage,需要开启权限才能使用,具体介绍可以见如下指南:

https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V1/web-cookie-and-data-storage-mgmt-0000001580345242-V1

分享
微博
QQ
微信
回复
2024-05-08 15:47:44
相关问题
HarmonyOS webview h5跳转到应用
362浏览 • 1回复 待解决
HarmonyOS 怎么跳转到系统页面
513浏览 • 1回复 待解决
如何跳转到WIFI列表页面
830浏览 • 1回复 待解决
如何跳转到系统发送短信页面
2647浏览 • 1回复 待解决
js能跳转到java写页面
10762浏览 • 1回复 待解决
如何跳转到共享包中指定页面
2599浏览 • 1回复 待解决
HarmonyOS如何跳转到发短信页面
1070浏览 • 1回复 待解决
HarmonyOS 如何跳转到应用设置页面
725浏览 • 1回复 待解决
HarmonyOS 如何设置WebviewlocalStorage
125浏览 • 1回复 待解决
服务卡片如何跳转到指定页面呢?
6327浏览 • 1回复 待解决
如何跳转到共享包中指定页面
695浏览 • 1回复 待解决
HarmonyOS 跳转到系统设置页面的方法
573浏览 • 1回复 待解决