From ffb92c87cfaa743ac4dbe3125bec90d5454a3cc8 Mon Sep 17 00:00:00 2001 From: caozehui <2427765068@qq.com> Date: Thu, 11 Dec 2025 16:19:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/styles/element.scss | 1 + frontend/src/utils/webSocketClient.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/styles/element.scss b/frontend/src/styles/element.scss index 684168d..b7ed142 100644 --- a/frontend/src/styles/element.scss +++ b/frontend/src/styles/element.scss @@ -574,6 +574,7 @@ .form-three { display: flex; flex-wrap: wrap; + width: 100%; // justify-content: space-between; .el-form-item { display: flex; diff --git a/frontend/src/utils/webSocketClient.ts b/frontend/src/utils/webSocketClient.ts index 0490933..f8d7901 100644 --- a/frontend/src/utils/webSocketClient.ts +++ b/frontend/src/utils/webSocketClient.ts @@ -190,7 +190,7 @@ export default class SocketService { * WebSocket连接配置 */ private config: SocketConfig = { - url: 'ws://127.0.0.1:7778/hello', + url: 'ws://127.0.0.1:7777/hello', //url: 'ws://192.168.1.124:7777/hello', heartbeatInterval: 9000, // 9秒心跳间隔 reconnectDelay: 5000, // 5秒重连延迟