From 7745715cf591176567807c7f0bf6abc561521de8 Mon Sep 17 00:00:00 2001 From: hdw <496960745@qq.com> Date: 星期五, 30 十一月 2018 11:33:30 +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