From 0b5dd45fb22f1dbc81f9758cc8164506b2f2a030 Mon Sep 17 00:00:00 2001 From: ngfchl Date: Wed, 25 Jan 2023 14:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E7=AB=99=E7=82=B9=E5=8E=86=E5=8F=B2=E6=95=B0=E6=8D=AE=E6=AF=8F?= =?UTF-8?q?=E6=97=A5=E4=B8=8A=E4=BC=A0=E6=80=BB=E9=87=8F=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/auto_pt/status.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/auto_pt/status.html b/templates/auto_pt/status.html index 5c8db89..569701d 100644 --- a/templates/auto_pt/status.html +++ b/templates/auto_pt/status.html @@ -1135,7 +1135,7 @@ //console.log(params) // console.log(params[0].value[1]) let text = '' - {#let total = 0#} + let total = 0 params.sort((a, b) => { return b.value - a.value }) @@ -1147,13 +1147,13 @@ ` text += temp - {#total += param.value#} + total += param.value }) let total_str = `
- 总计:${renderSize(today_total)} + 总计:${renderSize(total)} ${params[0].axisValue}

@@ -1267,7 +1267,7 @@ fontSize: '14px', } }, - } + }, ], } this.site.name = '全部站点'