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)