From ebbdc2014e98ae9ee49ff95fffdfcf7666f764cb Mon Sep 17 00:00:00 2001 From: oomeow Date: Wed, 1 Oct 2025 20:00:47 +0800 Subject: [PATCH] chore: update --- src/hooks/use-system-state.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 模式下暂停请求 }, );