# 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)
})
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
status | Number | N/A | 0失败 ,1 成功 |
- 失败时返回