my.removeStorageSync
Remove cached data synchronously.
Supported types of mini programs: DSL
This is a synchronous interface.
Sample Code
copy
my.removeStorageSync({
key: 'currentCity',
});Parameters
| Property | Type | Required | Description |
| key | String | Yes | Cache data key. |