优化
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user