|
@@ -96,7 +96,7 @@ const toggleScroll = () => {
|
|
};
|
|
};
|
|
|
|
|
|
// 设置定时器
|
|
// 设置定时器
|
|
-const fetchInterval = 1000; // 每60秒刷新一次
|
|
|
|
|
|
+const fetchInterval = 1000; // 每1秒刷新一次
|
|
let intervalId: number | null = null;
|
|
let intervalId: number | null = null;
|
|
|
|
|
|
const startFetchingData = () => {
|
|
const startFetchingData = () => {
|