From dde3f11bbef0962d8c5fb5e36a6f6531ab84b78c Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Fri, 5 Dec 2025 11:04:04 +0800 Subject: [PATCH] 1 --- frontend/src/utils/webSocketClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/webSocketClient.ts b/frontend/src/utils/webSocketClient.ts index fead893..646efa6 100644 --- a/frontend/src/utils/webSocketClient.ts +++ b/frontend/src/utils/webSocketClient.ts @@ -191,7 +191,7 @@ export default class SocketService { */ private config: SocketConfig = { url: 'ws://127.0.0.1:7777/hello', - // url: 'ws://192.168.1.124:7777/hello', + //url: 'ws://192.168.1.124:7777/hello', heartbeatInterval: 9000, // 9秒心跳间隔 reconnectDelay: 5000, // 5秒重连延迟 maxReconnectAttempts: 5, // 最多重连5次