设置缓存
wx.setStorageSync('key', data) 设置缓存
wx.setStorage() 异步设置缓存
获取缓存
wx.getAccountInfoSync() 获取缓存
wx.getStorage() 异步获取缓存
wx.getStorageInfo() 异步获取当前缓存的数据
清除缓存
wx.clearStorageSync() 同步本地清除缓存
wx.clearStorage() 异步清除本地缓存
wx.removeStorageSync() 同步移除指定key的缓存数据
wx.removeStorage() 异步移除指定的key的缓存数据