websocket代码提交
This commit is contained in:
@@ -36,7 +36,7 @@ export default class SocketService {
|
||||
// let token = '4E6EF539AAF119D82AC4C2BC84FBA21F';
|
||||
|
||||
|
||||
const url = 'ws://192.168.1.133:7777/hello?name=cdf'
|
||||
const url = 'ws://localhost:7777/hello?name=cdf'
|
||||
this.ws = new WebSocket(url);
|
||||
// 连接成功的事件
|
||||
this.ws.onopen = () => {
|
||||
|
||||
Reference in New Issue
Block a user