# wx.clearStorageSync()

The synchronous version of wx.clearStorage.

# Sample Code

wx.clearStorage()
try {
  wx.clearStorageSync()
} catch(e) {
  // Do something when catch error
}
点击咨询小助手