diff --git a/src/stores/remote-ws-store.ts b/src/stores/remote-ws-store.ts index 6f365b7..d2ac964 100644 --- a/src/stores/remote-ws-store.ts +++ b/src/stores/remote-ws-store.ts @@ -342,7 +342,9 @@ export const useRemoteWsStore = defineStore("remoteWs", { loopSendMedicinePing(name: string, id: string, date: string, index: number, cb: any){ const patient = this.patient[name + id + date + index] if (patient) { - patient.medicineWS.send(JSON.stringify({msgType: "ping"})) + patient.medicineWS.send(JSON.stringify({msgType: "ping",patientName: name, + idNum: id, + date: date})) } }, medicineOnclose(name: string, id: string, date: string, index: number, cb: any) {