# wx.clearStorage(Object object)

with Promise style call: Supported

Mini Program plugin: Not supported

Clean the local data cache. Cache related policies to view storage

# parameter

# Object object

attribute type Default values Required Introductions
success function no Interface calls the successful callback function
fail function no Interface calls failed callback functions
complete function no Callback function at the end of an interface call (both successful and unsuccessful calls are executed)

# sample code

try {
} catch(and) {
  // From the something when catch error