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