From e103e455c85919690f440cd12981c28734fc0671 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Tue, 27 Jul 2021 09:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E4=B8=AD=E6=94=BB=E5=87=BB?= =?UTF-8?q?=E6=B5=81=E9=87=8F=E7=B1=BB=E5=9E=8B=E6=94=B9=E4=B8=BALine=20Ar?= =?UTF-8?q?ea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/views/@default/clusters/cluster/boards/index.js | 7 +++++-- web/views/@default/clusters/cluster/node/boards/index.js | 4 ++-- web/views/@default/dashboard/boards/index.js | 4 ++-- web/views/@default/servers/server/boards/index.js | 4 ++-- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/web/views/@default/clusters/cluster/boards/index.js b/web/views/@default/clusters/cluster/boards/index.js index b3bb84c6..b0f5b27c 100644 --- a/web/views/@default/clusters/cluster/boards/index.js +++ b/web/views/@default/clusters/cluster/boards/index.js @@ -36,7 +36,7 @@ Tea.context(function () { attackRatio = Math.round(stats[index].attackBytes * 10000 / stats[index].bytes) / 100 } - return stats[index].day + " " + stats[index].hour + "时
总流量:" + teaweb.formatBytes(stats[index].bytes) + "
缓存流量:" + teaweb.formatBytes(stats[index].cachedBytes) + "
缓存命中率:" + cachedRatio + "%
拦截攻击流量:" + teaweb.formatBytes(stats[index].attackBytes) + "
拦截比例:" + attackRatio + "%" + return stats[index].day + " " + stats[index].hour + "时
总流量:" + teaweb.formatBytes(stats[index].bytes) + "
缓存流量:" + teaweb.formatBytes(stats[index].cachedBytes) + "
缓存命中率:" + cachedRatio + "%
拦截攻击流量:" + teaweb.formatBytes(stats[index].attackBytes) + "
拦截比例:" + attackRatio + "%" }) } @@ -131,6 +131,9 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, + areaStyle: { + color: "#F39494" + }, smooth: true } ], @@ -270,7 +273,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true diff --git a/web/views/@default/clusters/cluster/node/boards/index.js b/web/views/@default/clusters/cluster/node/boards/index.js index 16fe4666..288255d5 100644 --- a/web/views/@default/clusters/cluster/node/boards/index.js +++ b/web/views/@default/clusters/cluster/node/boards/index.js @@ -177,7 +177,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true @@ -319,7 +319,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true diff --git a/web/views/@default/dashboard/boards/index.js b/web/views/@default/dashboard/boards/index.js index fe5d3be8..c59ac7b0 100644 --- a/web/views/@default/dashboard/boards/index.js +++ b/web/views/@default/dashboard/boards/index.js @@ -126,7 +126,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true @@ -268,7 +268,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true diff --git a/web/views/@default/servers/server/boards/index.js b/web/views/@default/servers/server/boards/index.js index f3775075..d0eb0b1a 100644 --- a/web/views/@default/servers/server/boards/index.js +++ b/web/views/@default/servers/server/boards/index.js @@ -139,7 +139,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true @@ -281,7 +281,7 @@ Tea.context(function () { itemStyle: { color: "#F39494" }, - lineStyle: { + areaStyle: { color: "#F39494" }, smooth: true