my.removeStorageSync

Remove cached data synchronously.

This is a synchronous interface.

Sample Code

copy
my.removeStorageSync({
  key: 'currentCity',
});

Parameters

PropertyType

Required

Description
keyStringYesCache data key.