From 6efaa2ba16a302cba69622587dbab95f19795279 Mon Sep 17 00:00:00 2001 From: hdw <hdw@192.168.7.127> Date: 星期三, 16 一月 2019 16:39:21 +0800 Subject: [PATCH] 手机端实时测试数据显示更新 --- gx_tieta/WebRoot/mobil/testdata.html | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gx_tieta/WebRoot/mobil/testdata.html b/gx_tieta/WebRoot/mobil/testdata.html index dff2546..3d4fb43 100644 --- a/gx_tieta/WebRoot/mobil/testdata.html +++ b/gx_tieta/WebRoot/mobil/testdata.html @@ -25,9 +25,11 @@ <script type="text/javascript"> var batt; var temp=getCookie("batt"); + $(document).on('pagecreate', function() { if(temp!=null){ batt=eval("("+temp+")"); + console.info(batt); $('#battName').text(batt.BattGroupName); } }); -- Gitblit v1.9.1