From 9bd81e9eb198d0a74a264e890e4b0f56d2485108 Mon Sep 17 00:00:00 2001 From: ZJY <764763903@qq.com> Date: Thu, 2 Sep 2021 09:34:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E3=80=82=E3=80=82=E3=80=82?= =?UTF-8?q?=E3=80=82=E8=AF=B7=E5=8B=BF=E6=8B=89=E5=8F=96=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme/admin.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/theme/admin.html b/theme/admin.html index 0394937..2cd1061 100644 --- a/theme/admin.html +++ b/theme/admin.html @@ -88,17 +88,14 @@ case "授权登录未确认": break; case "登录": - hd.style.visibility = "hidden"; - qrcode.src = success - clearInterval(timer) setTimeout(() => { window.location.href = "/admin" }, 1000); break; case "成功": - hd.style.visibility = "hidden"; - qrcode.src = success - clearInterval(timer) + setTimeout(() => { + window.location.href = "/admin" + }, 1000); break; default: break;