空白异常

This commit is contained in:
yy 2024-05-29 10:20:34 +08:00
parent 97709b525f
commit 92130cdd74

View File

@ -155,10 +155,12 @@ function showData(i: any) {
function initData() {
const remoteTasks = remoteWsStore.getRemoteTask();
remoteItem.value = remoteTasks[remoteWsStore.currentTaskIndex]
remoteItem.value = remoteTasks[remoteWsStore.getCurrentTaskIndex()]
if (remoteItem.value) {
remoteWsStore.createConnect(remoteItem.value.patient, remoteItem.value.patientId, remoteItem.value.date)
getData()
}
}
function getData() {
remoteWsStore.unsubscribeVital(remoteItem.value.patient, remoteItem.value.patientId, remoteItem.value.date);
@ -283,12 +285,15 @@ const breakRemote = () => {
}
}
.info-box, .row-item .value {
.info-box,
.row-item .value {
display: none;
}
&.is-total {
.info-box, .row-item .value {
.info-box,
.row-item .value {
display: block;
}