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;