resetCookie 删除所有的cookie

resetCookie ^6.8

删除所有的cookie

#请求参数

Prop Type Default Comment
urls Array N/A

#接口调用示例

const params = {
  urls: ['http://baidu.com'],
}
this.$bridge
  .resetCookie(params)
  .then(res => {
    this.$alert(res)
  })
  .catch(err => {
    this.$toast(err)
  })

#返回参数

  • 成功时返回
Prop Type Default Description
status Number N/A 0失败 ,1 成功
  • 失败时返回
posted on 2024-12-22 09:17  AtlasLapetos  阅读(7)  评论(0)    收藏  举报