Appearance
删除cookie
方法名
removeCookie
用法
示例
js
this.$refs.refLevenUtsWebview.removeCookie({
//名称,必须
name: this.form.name,
//域名,必须
domain: this.form.domain,
//路径,默认:/
path: this.form.path
}, res => {
console.log("removeCookie:" + JSON.stringify(res))
})参数说明
| 参数名 | 参数类型 | 是否必填 | 默认值 | 参数描述 |
|---|---|---|---|---|
| name | String | 是 | 无 | cookie名称 |
| domain | String | 是 | 无 | 域名 |
| path | String | 否 | / | 域名路径 |
回调
示例
json
{
"data": {},
"message": "",
"code": 0
}回调说明
| 参数名 | 参数类型 | 参数描述 |
|---|---|---|
| message | String | 消息提示 |
| data | Object | 数据对象 |
| code | Integer | 返回类型,0.成功,其他:失败 |
