小程序—本地存储
本地存储分为异步和同步
设置:
异步:wx.setStorage
同步:wx.setStorageSync
获取:
异步:wx.getStorage
同步:wx.getStorageSync
移除:
异步:wx.removeStorage
同步:wx.removeStorageSync
清除所有:
异步:wx.clearStorage
同步:wx.clearStorageSync
小程序 本地存储
最新推荐文章于 2024-08-06 19:37:23 发布