toConfigDevice 跳转到配网界面
toConfigDevice
跳转到配网界面
(需要客户端自己处理下)
#请求参数
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
param |
Object |
Y |
{} 属性: sn8: deviceType: mode:{ Type: Number, Default: N/A, Description: 配网模式(0AP、1快连、3蓝牙) } |
请求参数 |
#接口调用示例
soundModule.toConfigDevice(param, (resp) => {
this.$alert("成功")
}, (error) => {
this.$toast("失败")
})
#返回参数
- 失败时返回
| Prop | Type | Default | Description |
|---|---|---|---|
errorMessage |
String |
N/A |
错误消息(如有) |
浙公网安备 33010602011771号