This commit is contained in:
GranceWang 2024-08-05 15:18:57 +08:00
parent 6bb2d7aff6
commit 631e67fa6b
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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&&currentRemote.value.isRemote)) {
router.push('/remote-manage/remote-manage');
return;
}
msgLogScrollBottom()