Commit 77b94829 by 朱建香

#24

远程开门如果提示'设备已离线'点击'确认'按钮后远程开门按钮变为不可控
远程开门如果提示'设备已离线'点击'确认'按钮后关闭远程开门页面,返回首页
parent 51b2aef1
......@@ -1138,6 +1138,8 @@ function remoteOpendoorTap(self){
}else{
uComponents.openAlert(self, Vue.t('remoteOpendoor.offlineTip'), {
text: Vue.t('dialog.confirm'), callback: function () {
self.setValueRemoteOpendoor(false);
self.setRemoteOpendoorDisabledFlag(true);
}
});
}
......@@ -1262,12 +1264,16 @@ function confirmButtonTap(self){
}else{
uComponents.openAlert(self, Vue.t('remoteOpendoor.textlengthTip'), {
text: Vue.t('dialog.confirm'), callback: function () {
}
});
}
}else{
uComponents.openAlert(self, Vue.t('remoteOpendoor.offlineTip'), {
text: Vue.t('dialog.confirm'), callback: function () {
self.setRemoteOpendoorShowFlag(false);
self.setValueRemoteOpendoor(false);
self.setRemoteOpendoorDisabledFlag(true);
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment