From b887e1187f0e82820bae847386331b963130beed Mon Sep 17 00:00:00 2001 From: 81041 <81041@192.168.10.9> Date: 星期一, 26 十一月 2018 11:03:13 +0800 Subject: [PATCH] //地图右下角显示出已安装机房中(停电数/掉站数/机房告警数/落后单体机房数) --- gx_tieta/WebRoot/js/control.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gx_tieta/WebRoot/js/control.js b/gx_tieta/WebRoot/js/control.js index 8947cdd..76997e6 100644 --- a/gx_tieta/WebRoot/js/control.js +++ b/gx_tieta/WebRoot/js/control.js @@ -496,8 +496,8 @@ } } } - var tempmax = (Math.max.apply(null,ydata)*1.25).toFixed(3); - if(tempmax < max){ + var tempmax = (Math.max.apply(null,ydata)*1.1).toFixed(3); + if(tempmax > max){ max = tempmax; //max = (tempmax*1.25).toFixed(1); } -- Gitblit v1.9.1