From 9bcbaddd6ae0b0c44da2ba39256ed6a1aeb12bc0 Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 19 Mar 2025 14:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=9C=8B=E6=9D=BF=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/stats_dashboard/templates/index.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/plugins/stats_dashboard/templates/index.html b/plugins/stats_dashboard/templates/index.html index f59a9d8..580ab59 100644 --- a/plugins/stats_dashboard/templates/index.html +++ b/plugins/stats_dashboard/templates/index.html @@ -12,7 +12,7 @@ 总调用次数
- {{ totalCalls }} + {% raw %}{{ totalCalls }}{% endraw %}
@@ -22,7 +22,7 @@ 成功率
- {{ successRate }}% + {% raw %}{{ successRate }}{% endraw %}%
@@ -32,7 +32,7 @@ 活跃用户数
- {{ activeUsers }} + {% raw %}{{ activeUsers }}{% endraw %}
@@ -42,7 +42,7 @@ 活跃群组数
- {{ activeGroups }} + {% raw %}{{ activeGroups }}{% endraw %}
@@ -56,11 +56,7 @@ 平均响应时间
- {% if avgResponseTime is defined %} - {{ "%.2f"|format(avgResponseTime|float) }} ms - {% else %} - 0.00 ms - {% endif %} + {% raw %}{{ avgResponseTime.toFixed(2) }}{% endraw %} ms