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