设置:
异步:wx.setStorage(key,value)
同步:wx.setStorageSync(key,value)
获取:
异步:wx.getStorage(key)
同步:wx.getStorageSync(key)
移除:
异步:wx.removeStorage(key)
同步:wx.removeStorageSync(key)
清除所有:
异步:wx.clearStorage()
同步:wx.clearStorageSync()
设置:
异步:wx.setStorage(key,value)
同步:wx.setStorageSync(key,value)
获取:
异步:wx.getStorage(key)
同步:wx.getStorageSync(key)
移除:
异步:wx.removeStorage(key)
同步:wx.removeStorageSync(key)
清除所有:
异步:wx.clearStorage()
同步:wx.clearStorageSync()