This commit is contained in:
parent
c7758f66d7
commit
1f20c18384
|
|
@ -179,9 +179,9 @@ function initWebSocket(wsUrl = import.meta.env.VITE_API_WSS) {
|
||||||
})
|
})
|
||||||
|
|
||||||
// 连接已关闭或无法打开
|
// 连接已关闭或无法打开
|
||||||
ws.value.addEventListener('WebSocket.CLOSED', function () {
|
// ws.value.addEventListener('WebSocket.CLOSED', function () {
|
||||||
|
|
||||||
})
|
// })
|
||||||
|
|
||||||
// 接收消息
|
// 接收消息
|
||||||
// ws.value.onmessage = function (e) {
|
// ws.value.onmessage = function (e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue