From 7d6dc55a760ec54d08e6a0b69d14574ad1197a4e Mon Sep 17 00:00:00 2001 From: sjl <1716605279@qq.com> Date: Thu, 16 Oct 2025 09:36:43 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E6=A3=80=E6=B5=8B=E5=87=BA=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/utils/webSocketClient.ts | 4 +- .../views/home/components/channelPairing.vue | 40 ++++-- .../views/home/components/comparePreTest.vue | 32 +++-- .../src/views/home/components/compareTest.vue | 114 ++++++++---------- .../home/components/compareTestPopup.vue | 34 ++++-- 5 files changed, 133 insertions(+), 91 deletions(-) diff --git a/frontend/src/utils/webSocketClient.ts b/frontend/src/utils/webSocketClient.ts index fead893..50ab64d 100644 --- a/frontend/src/utils/webSocketClient.ts +++ b/frontend/src/utils/webSocketClient.ts @@ -190,8 +190,8 @@ export default class SocketService { * WebSocket连接配置 */ private config: SocketConfig = { - url: 'ws://127.0.0.1:7777/hello', - // url: 'ws://192.168.1.124:7777/hello', + //url: 'ws://127.0.0.1:7777/hello', + url: 'ws://192.168.1.124:7777/hello', heartbeatInterval: 9000, // 9秒心跳间隔 reconnectDelay: 5000, // 5秒重连延迟 maxReconnectAttempts: 5, // 最多重连5次 diff --git a/frontend/src/views/home/components/channelPairing.vue b/frontend/src/views/home/components/channelPairing.vue index ee45f49..a89731f 100644 --- a/frontend/src/views/home/components/channelPairing.vue +++ b/frontend/src/views/home/components/channelPairing.vue @@ -24,7 +24,7 @@