From aaf9e35156f7619682f59538d9ad2123add3ef98 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 7 Jul 2021 03:23:13 -0400 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=8E=2007-07=2003:23?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- panel/public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel/public/index.html b/panel/public/index.html index f1a0378..80ecfa2 100755 --- a/panel/public/index.html +++ b/panel/public/index.html @@ -94,7 +94,7 @@ $(document).ready(function () { title: '🎈添加成功🎈', html: '
' + - `恭喜你成为第` + (UserNum-1) + `名用户` + + `恭喜你成为第` + UserNum + `名用户` + `
您的账号已经成功添加,时长为一个月` + '
', icon: 'success', @@ -133,7 +133,7 @@ $(document).ready(function () { let timeStamp = new Date().getTime(); $.get('./GetUserCount?t=' + timeStamp, function (data) { if (data.err == 0) { - UserNum = data.msg; + UserNum = data.msg - 1; document.getElementById("UserNum").innerHTML=data.msg; } });