参考: https://blog.csdn.net/weixin_42220533/article/details/84304170

 

 

1.wx.setStorage(wx.setStorageSync)、wx.getStorage(wx.getStorageSync)、wx.clearStorage(wx.clearStorageSync)

可以对本地缓存进行设置、获取和清理。本地缓存最大为10MB

2.localStorage 是永久存储

相关文章:

  • 2021-11-07
  • 2021-12-27
  • 2021-10-05
  • 2022-12-23
  • 2021-11-20
  • 2021-05-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2021-07-12
相关资源
相似解决方案