# cancelWriteNfc
取消写NFC标签的操作(美居8.16开始支持该接口)
# 请求参数
Prop | Type | Required | Default | Description |
---|---|---|---|---|
param | Object | Y | {} | 请求参数 |
# 接口调用示例
const params = {}
this.$bridge
.cancelWriteNfc(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
# 返回参数
- 成功时返回
Prop | Type | Default | Description |
---|---|---|---|
code | Number | N/A | 返回码0-成功,-7006:没有在写nfc标签 |
msg | String | N/A | 返回Code对应的说明信息 |