diff --git a/dinky-web/src/hooks/useHookRequest.tsx b/dinky-web/src/hooks/useHookRequest.tsx index 14e6eab04d..09798c1c3b 100644 --- a/dinky-web/src/hooks/useHookRequest.tsx +++ b/dinky-web/src/hooks/useHookRequest.tsx @@ -67,7 +67,7 @@ function useHookRequest( const [loading, setLoading] = useState(false); const [error, setError] = useState(); const status = useRef(false); - const pollingIntervalTimer = useRef(); + const pollingIntervalTimer = useRef(); const { manual = false, @@ -103,7 +103,7 @@ function useHookRequest( const doRun = async (params: TParams) => { let finish = false; try { - console.log(pollingInterval) + console.log(pollingInterval); //延迟显示loading,防止刷新时闪屏 if (loadingDelay) { setTimeout(() => {