v***@qq.com
v***@qq.com
  • 发布:2025-05-07 13:21
  • 更新:2025-05-07 14:32
  • 阅读:158

在鸿蒙webview里运行的网页,调用 uni.setStorageSync报错,错误如下

分类:uni-app

Uncaught (in promise) {"name": "TypeError", "message": "Cannot read properties of null (reading 'setItem')", "stack": "TypeError: Cannot read properties of null (reading 'setItem')\n at t.setCloudControllerCache }

2025-05-07 13:21 负责人:无 分享
已邀请:
DCloud_UNI_JBB

DCloud_UNI_JBB

您好,方便发个可复现demo吗?以便更好的排查问题

  • v***@qq.com (作者)

    谢谢回复,我通过权限解决了

    2025-05-07 14:39

要回复问题请先登录注册