wx.clearStorage(Object object)

140 阅读1分钟
清理本地数据缓存。
wx.clearStorage()
try {
  wx.clearStorageSync()
} catch(e) {
  // Do something when catch error
}