This commit is contained in:
sjl
2025-03-10 19:59:55 +08:00
parent 54e7a91841
commit a0bd32453c

View File

@@ -37,7 +37,7 @@ export default class SocketService {
// let token = '4E6EF539AAF119D82AC4C2BC84FBA21F'; // let token = '4E6EF539AAF119D82AC4C2BC84FBA21F';
const url = 'ws://localhost:7777/hello?name=cdf' const url = 'ws://192.168.1.124:7777/hello?name=cdf'
this.ws = new WebSocket(url); this.ws = new WebSocket(url);
// 连接成功的事件 // 连接成功的事件
this.ws.onopen = () => { this.ws.onopen = () => {