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);