From 2995755cdac24d3c45931186f449f0ae3825efa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E7=BA=A7=E8=80=81=E7=99=BD=E5=85=94?= Date: Wed, 3 Sep 2025 09:54:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor(websocket):=20=E5=B0=86=E7=A1=AC?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=9A=845000=E6=AF=AB=E7=A7=92=E6=94=B9?= =?UTF-8?q?=E4=B8=BA5=20*=201000=E4=BB=A5=E6=8F=90=E9=AB=98=E5=8F=AF?= =?UTF-8?q?=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cunkebao/src/store/module/websocket/websocket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cunkebao/src/store/module/websocket/websocket.ts b/Cunkebao/src/store/module/websocket/websocket.ts index a1327038..485931c6 100644 --- a/Cunkebao/src/store/module/websocket/websocket.ts +++ b/Cunkebao/src/store/module/websocket/websocket.ts @@ -456,7 +456,7 @@ export const useWebSocketStore = createPersistStore( // 如果连接断开,停止定时器 state._stopAliveStatusTimer(); } - }, 5000); + }, 5 * 1000); set({ aliveStatusTimer: timer }); },