mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2026-06-13 01:31:47 +08:00
索引下标问题, 断连后中止原有的重连回调函数
This commit is contained in:
parent
361d76b5c3
commit
68601dda67
|
|
@ -386,7 +386,7 @@ 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 + ', 通讯连接断开,正在尝试重连……')
|
ElMessage.info('远程查看' + (currentIndex + 1) + ', 通讯连接断开,正在尝试重连……')
|
||||||
subscribeChat()
|
subscribeChat()
|
||||||
}, 3000)
|
}, 3000)
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user