From d8a4c20565dbb4fd88dfd90a4411f77e068857b3 Mon Sep 17 00:00:00 2001 From: zdl <3489966805@qq.com> Date: Wed, 26 Nov 2025 11:15:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=20Login=20Page=20Viewed=20=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E4=BB=85=E5=9C=A8=E6=A8=A1=E6=80=81=E6=A1=86=E9=A6=96?= =?UTF-8?q?=E6=AC=A1=E6=89=93=E5=BC=80=E6=97=B6=E8=A7=A6=E5=8F=91=201=20?= =?UTF-8?q?=E6=AC=A1=20=20=20=20=20=20-=20=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6=E6=9C=9F=E9=97=B4=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E8=A7=A6=E5=8F=91=20=20=20=20=20=20-=20?= =?UTF-8?q?=E4=B8=8D=E5=BD=B1=E5=93=8D=E5=85=B6=E4=BB=96=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E8=BF=BD=E8=B8=AA=E5=8A=9F=E8=83=BD\?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Auth/AuthFormContent.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Auth/AuthFormContent.js b/src/components/Auth/AuthFormContent.js index c22b6997..5b1de63b 100644 --- a/src/components/Auth/AuthFormContent.js +++ b/src/components/Auth/AuthFormContent.js @@ -476,7 +476,8 @@ export default function AuthFormContent() { return () => { isMountedRef.current = false; }; - }, [authEvents]); + // eslint-disable-next-line react-hooks/exhaustive-deps + }, []); // 仅在挂载时执行一次,避免 countdown 倒计时导致重复触发 return ( <>