From cf9f90feead55d2882ccd50ab4ceb19d8500c14d Mon Sep 17 00:00:00 2001
From: CJJ <Administrator@192.168.10.25>
Date: 星期五, 30 十一月 2018 13:56:09 +0800
Subject: [PATCH] 手机 电池组信息配置 修改电池组功能

---
 gx_tieta/WebRoot/pages/js/pages/index-common.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/gx_tieta/WebRoot/pages/js/pages/index-common.js b/gx_tieta/WebRoot/pages/js/pages/index-common.js
index 6a683c0..8a0c0f8 100644
--- a/gx_tieta/WebRoot/pages/js/pages/index-common.js
+++ b/gx_tieta/WebRoot/pages/js/pages/index-common.js
@@ -45,10 +45,12 @@
 					var data = rs.data[0];
 					var rsStatus = formaterPieStauts(data);
 					pieItems = getPieList(rsStatus);
+				}else {
+					pieItems = getPieList([1, 1, 1, 1]);
 				}
 			}
 		});
-		
+		//console.log(pieItems);
 		return pieItems;
 	}
 	

--
Gitblit v1.9.1