From 9c4f546af7b33c44af5c655d9f8c9124bfe9f23d Mon Sep 17 00:00:00 2001 From: "cn.yimian.xyz" Date: Sun, 16 Aug 2020 10:35:19 +0800 Subject: [PATCH] add reload --- js/login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/login.js b/js/login.js index 97c1ab3..89fd327 100644 --- a/js/login.js +++ b/js/login.js @@ -172,6 +172,7 @@ $(function(){ window.location.href="https://auth.yimian.xyz/setToken.php?token="+data.token+"&from="+to; }else{ tips.warning({message: '登录/注册失败!'}) + window.location.reload(); } }); });