mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2026-06-12 14:41:46 +08:00
修复,多个连接,状态提示错误, 并且去除索引
This commit is contained in:
parent
ddc2b28726
commit
003fd7881c
|
|
@ -376,7 +376,8 @@ const subscribeChat = () => {
|
||||||
messageList.value = msg.history;
|
messageList.value = msg.history;
|
||||||
}
|
}
|
||||||
if (msg.msgType == "destroy") {
|
if (msg.msgType == "destroy") {
|
||||||
ElMessageBox.confirm('远程查看' + (currentIndex + 1) + '已断开与手术室连接', '提示', {
|
// ElMessageBox.confirm('远程查看' + (currentIndex + 1) + '已断开与手术室连接', '提示', {
|
||||||
|
ElMessageBox.confirm('远程查看' + '已断开与手术室连接', '提示', {
|
||||||
confirmButtonText: '确认',
|
confirmButtonText: '确认',
|
||||||
type: 'info'
|
type: 'info'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
|
@ -386,7 +387,8 @@ const subscribeChat = () => {
|
||||||
})
|
})
|
||||||
remoteWsStore.chatOnclose(currentRemote.value.patient, currentRemote.value.patientId, currentRemote.value.date, currentIndex, () => {
|
remoteWsStore.chatOnclose(currentRemote.value.patient, currentRemote.value.patientId, currentRemote.value.date, currentIndex, () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
ElMessage.info('远程查看' + (currentIndex + 1) + ', 通讯连接断开,正在尝试重连……')
|
// ElMessage.info('远程查看' + (currentIndex + 1) + ', 通讯连接断开,正在尝试重连……')
|
||||||
|
ElMessage.info('远程查看, 通讯连接断开,正在尝试重连……')
|
||||||
subscribeChat()
|
subscribeChat()
|
||||||
}, 3000)
|
}, 3000)
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user