fix:客户端断开连接时,服务端处理websocket异常

This commit is contained in:
zy7y
2022-09-17 19:10:11 +08:00
parent 8e37bba724
commit 85a38a0840
6 changed files with 20 additions and 22 deletions

View File

@@ -40,7 +40,6 @@ const { systemUsage, performance } = toRefs(data)
onUnmounted(() => {
ws.close()
console.log('关闭socket 连接')
})
</script>