From c8dd1a6298f2c92e232e4ae8f8bf6ea177ce5b7c Mon Sep 17 00:00:00 2001 From: shuaiplus <2327005759@qq.com> Date: Mon, 5 May 2025 15:26:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B2=A1=E6=88=BF=E9=97=B4=E4=BA=86=E5=B0=B1?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E7=BD=91=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/main.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/main.js b/web/main.js index 54b6e2b..6bac7fe 100644 --- a/web/main.js +++ b/web/main.js @@ -454,9 +454,7 @@ function setupMoreBtnMenu() { switchRoom(0); } else { // 没有房间了,回到登录 - activeRoomIndex = -1; - document.getElementById('chat-container').style.display = 'none'; - document.getElementById('login-container').style.display = ''; + location.reload(); } } }