From b94bd65e9472039358c1437fd41f995a26579d37 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Mon, 7 Dec 2020 18:04:05 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E6=B7=BB=E5=8A=A0=20hover?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=85=B7=E4=BD=93=E6=95=B0=E5=80=BC=E7=9A=84?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/page/dashboard/overview/overview2.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue index d1350a677..f9de2ed56 100644 --- a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue +++ b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue @@ -26,12 +26,14 @@
+
+ {{(assetData ? assetData.totalStat.total : '') | unitFormat}}
+
{{$t("dashboard.overview.asset.title")}}
@@ -40,11 +42,13 @@
+
+ {{(projectData ? projectData.projectStat.length : '') | unitFormat}}
+
{{$t("dashboard.overview.project.project")}}
@@ -53,11 +57,13 @@
+
+ {{(moduleData ? moduleData.moduleStat.length : '') | unitFormat}}
+
{{$t("dashboard.overview.module.module")}}
@@ -66,11 +72,13 @@
+
+ {{(endpointData ? endpointData.total : '') | unitFormat}}
+
{{$t("dashboard.overview.endpoint.endpoint")}}
@@ -79,11 +87,13 @@
+
+ {{(alertMessageData ? alertMessageData.alertMessageTotal : '') | unitFormat}}
+
{{$t("overall.alert")}}
{{$t("dashboard.overview.alert.ruleNum")}} : {{(alertRuleData ? alertRuleData.alertRuleTotal : "") | numberFormat}}