From 57b4adf408e68615821dd2ce2d6400ec4d76b0f7 Mon Sep 17 00:00:00 2001 From: KindSeven <2845382437@qq.com> Date: Fri, 27 Sep 2024 19:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2wsrul?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/liveCall/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/liveCall/index.vue b/src/components/liveCall/index.vue index 39d2b09..0c70640 100644 --- a/src/components/liveCall/index.vue +++ b/src/components/liveCall/index.vue @@ -108,8 +108,8 @@ const handleLogout = () => { const initWebSocket = () => { try { // const wsUrl=setWsUrl(`/ws/text/${token}`) - const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}` - // const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}` + // const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}` + const wsUrl = `ws://112.19.165.99:20002/api/ws/text/${token}` socket = new WebSocket(wsUrl) // 2. ws.send()给服务器发送信息 //连接发生错误的回调方法