wx.getStorage异步和wx.getStorageSync同步区别
作者:互联网
参考: 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 是永久存储
标签:setStorage,缓存,getStorageSync,本地,getStorage,wx 来源: https://www.cnblogs.com/taxun/p/13780303.html