修改常量

This commit is contained in:
caozehui
2026-06-11 10:35:11 +08:00
parent 52a8095334
commit 5abaa743c0
5 changed files with 22 additions and 7 deletions

View File

@@ -192,8 +192,7 @@ export default class SocketService {
* WebSocket连接配置
*/
private config: SocketConfig = {
// url: 'ws://127.0.0.1:7778/hello',
url: 'ws://127.0.0.1:7778/hello',
url: `ws://127.0.0.1:7778/hello`,
heartbeatInterval: 9000, // 9秒心跳间隔
reconnectDelay: 5000, // 5秒重连延迟
maxReconnectAttempts: 5, // 最多重连5次