From b8fe5f58da32f88974ca830e595f89a2bb0a9055 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Mon, 29 Oct 2018 18:47:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E9=87=8F=E7=BB=9F=E8=AE=A1=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=9B=9B=E8=88=8D=E4=BA=94=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp index 449cc5ff8..048f35c8c 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp @@ -142,7 +142,7 @@
-    +   
@@ -467,8 +467,8 @@ function ajaxinfo(){ outoctetsNum=outoctetsNumM; unit="Mbps"; }; - $(".c2sNum").text(inoctetsNum+" "+unit); - $(".s2cNum").text(outoctetsNum+" "+unit); + $(".c2sNum").text(Math.floor(inoctetsNum)+" "+unit); + $(".s2cNum").text(Math.floor(outoctetsNum)+" "+unit); /* if(data.inoctetsNum!=c2s){ $(".c2sNum").text(data.c2sNum); $(".s2cNum").text(100-data.c2sNum);