优化 设备重启或开门提示

This commit is contained in:
java110 2020-12-31 16:38:44 +08:00
parent 669da47962
commit a84244a1bb

View File

@ -39,7 +39,12 @@
return;
}
let _data = JSON.parse(json);
vc.toast(_data.msg);
if(_data.code != 0){
vc.toast(_data.msg);
}else{
vc.toast('已请求设备');
}
},
function (errInfo, error) {
console.log('请求失败处理');