toConfigDevice
toConfigDevice
ssss跳转到配网界面
#请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param |
Object |
Y |
{} 属性: labelId:{ Type: String, Default: N/A, Description: nfc标签中的ID,可传可不传,目前暂时用不到 } sn8: deviceType: mode:{ Type: String, Default: N/A, Description: 配网模式(0AP、1快连、3蓝牙) } |
请求参数 |
#接口调用示例
this.$bridge
.toConfigDevice(params)
.then(res => {
this.$alert(res)
})
.catch(err => {
this.$toast(err)
})
#返回参数
- 失败时返回
| Prop | Type | Default | Description |
|---|---|---|---|
errorMessage |
String |
N/A |
错误消息(如有) |
浙公网安备 33010602011771号