更新 src/components/liveCall/index.vue
This commit is contained in:
@@ -91,8 +91,8 @@ const handleShowDeadLine=(recordObj,data)=>{
|
|||||||
}
|
}
|
||||||
const initWebSocket = () => {
|
const initWebSocket = () => {
|
||||||
try {
|
try {
|
||||||
// const wsUrl=setWsUrl(`/ws/text/${token}`)
|
const wsUrl=setWsUrl(`/ws/text/${token}`)
|
||||||
const wsUrl = `ws://frp.feashow.cn:31800/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://112.19.165.99:20002/api/ws/text/${token}`
|
||||||
socket = new WebSocket(wsUrl)
|
socket = new WebSocket(wsUrl)
|
||||||
// 2. ws.send()给服务器发送信息
|
// 2. ws.send()给服务器发送信息
|
||||||
|
|||||||
Reference in New Issue
Block a user