diff --git a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue
index 5df89fc68..47c5dc132 100644
--- a/nezha-fronted/src/components/page/dashboard/overview/overview2.vue
+++ b/nezha-fronted/src/components/page/dashboard/overview/overview2.vue
@@ -34,7 +34,7 @@
-
+
{{(assetData ? assetData.totalStat.total : '') | unitFormat}}
@@ -43,7 +43,7 @@
-
+
{{(projectData ? projectData.projectStat.length : '') | unitFormat}}
@@ -52,7 +52,7 @@
-
+
{{(moduleData ? moduleData.moduleStat.length : '') | unitFormat}}
@@ -61,7 +61,7 @@
-
+
{{(endpointData ? endpointData.total : '') | unitFormat}}
@@ -69,7 +69,7 @@
{{$t("dashboard.overview.alert.alertMessage")}}
-
+
{{(alertMessageData ? alertMessageData.alertMessageTotal : '') | unitFormat}}
{{$t("dashboard.overview.alert.ruleNum")}} : {{(alertRuleData ? alertRuleData.alertRuleTotal : "") | numberFormat}}
@@ -272,9 +272,9 @@
if (num < 1000) {
return num;
} else if (num < 1000000) {
- return (num/1000).toFixed(fixed) + "K";
+ return (num/1000).toFixed(fixed);
} else if (num < 1000000000) {
- return (num/1000000).toFixed(fixed) + "M";
+ return (num/1000000).toFixed(fixed);
}
} catch (err) {
return 0;