# toConfigDevice
ssss跳转到配网界面
# 请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param | Object | Y | {}属性: labelId:{Type: String, Default: N/A, Description: nfc标签中的ID,可传可不传,目前暂时用不到} sn8:{Type: String, Default: N/A, Description: sn8 值 } deviceType:{Type: String, Default: N/A, Description: 设备类型 } mode:{Type: String, Default: N/A, Description: 配网模式( 0AP、1快连、3蓝牙)} | 请求参数 |
# 接口调用示例
this.$bridge
.toConfigDevice(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 |
|---|---|---|---|
errorMessage | String | N/A | 错误消息(如有) |
← 介绍 getNfcInfo →