This commit is contained in:
psh
2023-11-27 16:29:46 +08:00
parent 61bb0c42ed
commit 715cc94e76
11 changed files with 142 additions and 95 deletions

View File

@@ -135,11 +135,11 @@ export default {
this.websock.onmessage = this.webSocketOnMessage
},
webSocketOnError(e) {
this.$notify({
title: 'WebSocket连接发生错误',
type: 'error',
duration: 0
})
// this.$notify({
// title: 'WebSocket连接发生错误',
// type: 'error',
// duration: 0
// })
},
webSocketOnMessage(e) {
const data = JSON.parse(e.data)