commit: 二期

This commit is contained in:
republicline 2024-11-14 16:29:50 +08:00
parent 22820d1035
commit 3480ee2af7
2 changed files with 940 additions and 921 deletions

View File

@ -193,7 +193,7 @@ export const useRemoteWsStore = defineStore("remoteWs", {
patientName: name,
idNum: id,
date: date,
msgType: "msg"
msgType: "init"
}))
}
}
@ -251,10 +251,11 @@ export const useRemoteWsStore = defineStore("remoteWs", {
const patient: any = this.patient[name + id + date + index]
if (patient) {
const params = {
msgType: "msg",
patientName: name,
idNum: id,
date: date,
msg
content:msg
}
patient.chatWS.send(JSON.stringify(params))
cb({

File diff suppressed because it is too large Load Diff