From 4a8a53c1c23bc33754a5944ad62f3dae974481aa Mon Sep 17 00:00:00 2001 From: xixi <123@qq.com> Date: Fri, 23 Aug 2024 12:34:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/route/Refun/Refun.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route/Refun/Refun.tsx b/src/route/Refun/Refun.tsx index 34e8adb..ee12348 100644 --- a/src/route/Refun/Refun.tsx +++ b/src/route/Refun/Refun.tsx @@ -417,7 +417,7 @@ export default function Refun() { if (!state) { nav('/home') } - }, []) + }, [state]) useEffect(() => { // getData(1) setPage(1)