wyling007 пре 3 година
родитељ
комит
d01022c843
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/route/guard.ts

+ 1 - 1
src/route/guard.ts

@@ -41,7 +41,7 @@ const guard = (router: Router) => {
 					toast.message = `登陆失败`;
 					setTimeout(() => {
 						Toast.clear();
-						next("/home");
+						location.reload();
 					}, 1000);
 				}
 			} else {