mirror of
https://gitee.com/xiongmao1988/rax-medical.git
synced 2025-08-23 20:44:58 +08:00
fix
This commit is contained in:
parent
6bb2d7aff6
commit
631e67fa6b
|
@ -347,7 +347,7 @@ export const useRemoteWsStore = defineStore("remoteWs", {
|
|||
if (patient) {
|
||||
patient.medicineWS.send(JSON.stringify({msgType: "ping",patientName: name,
|
||||
idNum: id,
|
||||
date: date}))
|
||||
msg: + new Date()}))
|
||||
}
|
||||
},
|
||||
medicineOnclose(name: string, id: string, date: string, index: number, cb: any) {
|
||||
|
|
|
@ -274,8 +274,8 @@ let currentDocMedicine: any;
|
|||
const medicineSpeedTemp: any = {};
|
||||
const connectionUnityLoading=ref(false);
|
||||
onMounted(() => {
|
||||
if (!currentRemote.value?.isRemote) {
|
||||
router.replace('/remote-manage/remote-manage');
|
||||
if (!(currentRemote.value&¤tRemote.value.isRemote)) {
|
||||
router.push('/remote-manage/remote-manage');
|
||||
return;
|
||||
}
|
||||
msgLogScrollBottom()
|
||||
|
|
Loading…
Reference in New Issue
Block a user