diff --git a/src/hooks/use-system-state.ts b/src/hooks/use-system-state.ts index c27f62ed..a06026f8 100644 --- a/src/hooks/use-system-state.ts +++ b/src/hooks/use-system-state.ts @@ -31,12 +31,12 @@ export function useSystemState() { { suspense: true, revalidateOnFocus: false, - onSuccess: (data) => { - console.log("[useSystemState] 服务状态更新:", data); - }, - onError: (error) => { - console.error("[useSystemState] 服务状态检查失败:", error); - }, + // onSuccess: (data) => { + // console.log("[useSystemState] 服务状态更新:", data); + // }, + // onError: (error) => { + // console.error("[useSystemState] 服务状态检查失败:", error); + // }, isPaused: () => !isServiceMode, // 仅在非 Service 模式下暂停请求 }, );