Merge pull request '更新 src/components/liveCall/index.vue' (#165) from zhangkaihuai-patch-1 into test

Reviewed-on: http://git.feashow.cn/feashow/SmartOpsWeb/pulls/165
This commit is contained in:
zhangkaihuai
2024-11-16 03:08:48 +00:00

View File

@@ -91,8 +91,8 @@ const handleShowDeadLine=(recordObj,data)=>{
}
const initWebSocket = () => {
try {
// const wsUrl=setWsUrl(`/ws/text/${token}`)
const wsUrl = `ws://frp.feashow.cn:31800/ws/text/${token}`
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}`
socket = new WebSocket(wsUrl)
// 2. ws.send()给服务器发送信息