From a6d5b7fef7a1cad7538d7b258291a5c23bd7fe58 Mon Sep 17 00:00:00 2001
From: whyclj <1525436766@qq.com>
Date: 星期五, 21 十二月 2018 08:32:55 +0800
Subject: [PATCH] 屏蔽Web端设备实时告警页面的输出
---
gx_tieta/WebRoot/mobil/control.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gx_tieta/WebRoot/mobil/control.html b/gx_tieta/WebRoot/mobil/control.html
index db8c133..89a59c9 100644
--- a/gx_tieta/WebRoot/mobil/control.html
+++ b/gx_tieta/WebRoot/mobil/control.html
@@ -65,7 +65,7 @@
var temp = getCookie("batt");
var batt = JSON.parse(temp);
console.info(batt);
- if(batt.install_user){
+ if(batt.install_user||batt.install_user==0){
window.location.href="batt-approved.html";
}else{
window.location.href="testdata.html";
@@ -200,7 +200,7 @@
{url: 'testdata.html', txt: '鐢垫睜缁勬暟鎹�'}, // 鐢垫睜缁勬暟鎹�
{url: 'javascript:;', txt: '瀹炴椂-鐩戞祴鏁版嵁'} // 鐢垫睜缁勬暟鎹�
];*/
- if(batt.install_user){
+ if(batt.install_user||batt.install_user==0){
}else{
addBreadCrumb($('.breadcrumb').eq(0), data);
--
Gitblit v1.9.1