diff --git a/plugins/stats_dashboard/templates/index.html b/plugins/stats_dashboard/templates/index.html index 8255ab4..f59a9d8 100644 --- a/plugins/stats_dashboard/templates/index.html +++ b/plugins/stats_dashboard/templates/index.html @@ -56,7 +56,11 @@ 平均响应时间
- {{ "%.2f"|format(avgResponseTime|float) }} ms + {% if avgResponseTime is defined %} + {{ "%.2f"|format(avgResponseTime|float) }} ms + {% else %} + 0.00 ms + {% endif %}