diff --git a/src/App.tsx b/src/App.tsx index fc0dbc5..d5ac226 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -23,7 +23,7 @@ const App: React.FC = () => { setIsOnline(true); }) .catch(e => console.log('错误:',e)) - }, 2000); + }, 5000); return () => { clearInterval(fetchData); }