mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 18:11:00 +08:00
优化 设备重启或开门提示
This commit is contained in:
parent
669da47962
commit
a84244a1bb
@ -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('请求失败处理');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user