# removeItem

APP本地化存储清除值

# 调用方式

removeItem(key, callback)
1

无直接返回值;不要对调用结果使用 then/catch。

# 请求参数

参数 类型 必填 默认值 说明
key String Y — 需要移除的存储键
callback Function N — 移除后调用,不传递结果参数

# 接口调用示例

this.$bridge.removeItem('example-key', () => {
  console.log('已移除')
})
1
2
3

# 返回参数

无直接返回值。