no message

This commit is contained in:
wangdongbo 2026-08-31 09:04:33 +08:00
parent e57ae73dda
commit 5bb3a71b34

View File

@ -4,7 +4,7 @@
<view v-if="session" class="patient-info-bar" @click="openPatientInfo">
<view class="patient-summary">
<text class="patient-name">{{ patientDisplayName }}</text>
<text class="patient-detail">{{ patientDetail }}</text>
<text v-if="patientDetail" class="patient-detail">{{ patientDetail }}</text>
</view>
<text class="patient-action">查看/修改</text>
<text class="patient-arrow"></text>
@ -74,7 +74,7 @@ const patientDetail = computed(() => {
if (patient.sex) details.push(patient.sex);
if (patient.age !== '' && patient.age !== null && patient.age !== undefined) details.push(`${patient.age}`);
if (patient.relationship) details.push(patient.relationship);
return details.join(' · ') || '基础信息待完善';
return details.join(' · ');
});
function displayContent(item) {