qq.clearStorageSync

qq.clearStorageSync()

qq.clearStorage 的同步版本

示例代码

qq.clearStorage()
1
try {
  qq.clearStorageSync()
} catch (e) {
  // Do something when catch error
}
1
2
3
4
5