From cf262a95d0d79d477dda82c3fd17a22f0582a355 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.1.4> Date: 星期一, 24 十二月 2018 14:18:04 +0800 Subject: [PATCH] 语音播报开启和关闭逻辑显示 --- 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