From e18e39db35fd0ad9f627e324f72cb3d0904aaf80 Mon Sep 17 00:00:00 2001 From: sky Date: Sun, 8 Dec 2024 20:02:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20simpleadmin/www/index.html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simpleadmin/www/index.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/simpleadmin/www/index.html b/simpleadmin/www/index.html index 126e217..aaa60f6 100644 --- a/simpleadmin/www/index.html +++ b/simpleadmin/www/index.html @@ -2006,13 +2006,11 @@ // Set the refresh rate for interval this.intervalId = setInterval(() => { this.fetchUpTime(); - this.fetchAllInfo(); - + this.fetchSystemStats(); this.requestPing() .then((data) => { const response = data.trim(); - // Trim any leading/trailing spaces if (response === "OK") { this.internetConnectionStatus = "已连接"; } else { @@ -2023,7 +2021,6 @@ console.error("Error:", error); this.internetConnectionStatus = "已断开"; }); - this.lastUpdate = new Date().toLocaleString(); console.log("Refreshed"); }, this.refreshRate * 1000);