From 6f8d605f0f28c8a0b0e96b1d0705f01d05e1dc09 Mon Sep 17 00:00:00 2001 From: "1747191978@qq.com" <1942943850@qq.com> Date: Fri, 21 Feb 2025 19:51:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E7=BB=9F=E8=AE=A1=E7=A9=BA?= =?UTF-8?q?=E5=80=BC=E6=98=BE=E7=A4=BA=E4=B8=8D=E5=AF=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acupuncture-前台/src/views/indexCom/JM.vue | 4 ++-- acupuncture-前台/src/views/indexCom/patient.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/acupuncture-前台/src/views/indexCom/JM.vue b/acupuncture-前台/src/views/indexCom/JM.vue index c849b264..12af7846 100644 --- a/acupuncture-前台/src/views/indexCom/JM.vue +++ b/acupuncture-前台/src/views/indexCom/JM.vue @@ -169,7 +169,7 @@ for (let key in txfb) { let data = { name: this.systemObj[key], - value: txfb[key], + value: txfb[key] || 0, }; this.systemValue.push(data); } @@ -180,7 +180,7 @@ for (let key in zytz) { let data = { name: this.physiqueObj[key], - value: zytz[key], + value: zytz[key] || 0, }; this.physiqueValue.push(data); } diff --git a/acupuncture-前台/src/views/indexCom/patient.vue b/acupuncture-前台/src/views/indexCom/patient.vue index 6be1101a..d9dae15f 100644 --- a/acupuncture-前台/src/views/indexCom/patient.vue +++ b/acupuncture-前台/src/views/indexCom/patient.vue @@ -167,7 +167,7 @@ for (let key in diseaseValue) { let data = { name: this.jwbzObj[key], - value: diseaseValue[key] + value: diseaseValue[key] || 0 } this.diseaseValue.push(data) }