mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-24 13:04:57 +08:00
移除onclose
This commit is contained in:
parent
75a4eec74e
commit
0f7622a264
|
@ -106,10 +106,6 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
vitalWS.onclose = () => {
|
|
||||||
ElMessage.info("远程管理" + (index + 1) + "已断开")
|
|
||||||
}
|
|
||||||
|
|
||||||
vitalWS.onerror = () => {
|
vitalWS.onerror = () => {
|
||||||
ElMessage.error("远程管理" + (index + 1) + "出错")
|
ElMessage.error("远程管理" + (index + 1) + "出错")
|
||||||
}
|
}
|
||||||
|
@ -148,10 +144,6 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
chatWS.onclose = () => {
|
|
||||||
ElMessage.info("远程管理" + (index + 1) + "通讯已断开")
|
|
||||||
}
|
|
||||||
|
|
||||||
chatWS.onerror = () => {
|
chatWS.onerror = () => {
|
||||||
ElMessage.error("远程管理" + (index + 1) + "通讯出错")
|
ElMessage.error("远程管理" + (index + 1) + "通讯出错")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user