# wx.clearStorage(Object object)

Clears the data cached locally.

# Parameters

# Object object

Attribute Type Default Required Description
success function No The callback function for a successful API call
fail function No Callback function for failed API call
complete function No Callback function used when API call completed (always executed whether call succeeds or fails)

# Sample Code

try {
} catch(e) {
  // Do something when catch error