From 23d2d10ba2b388a0999702c9931efa14f12d7f8a Mon Sep 17 00:00:00 2001
From: whyclj <1525436766@qq.com>
Date: 星期五, 28 十二月 2018 16:43:54 +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