From 758adc52294548558b727081eac88d44ea01a0e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <>
Date: Fri, 19 Dec 2025 09:57:23 +0800
Subject: [PATCH] =?UTF-8?q?=E5=BD=95=E5=85=A5=E4=BF=A1=E6=81=AF=E6=97=B6?=
=?UTF-8?q?=EF=BC=8C=E5=88=87=E6=8D=A2APP=E8=BF=94=E5=9B=9E=20=E4=BF=9D?=
=?UTF-8?q?=E7=95=99=E8=BE=93=E5=85=A5=E6=95=B0=E6=8D=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
衡水博爱健康医院医院小程序/pages/user/edit/edit.vue | 13 ++++++++++---
.../components/report/type2.vue | 2 +-
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/衡水博爱健康医院医院小程序/pages/user/edit/edit.vue b/衡水博爱健康医院医院小程序/pages/user/edit/edit.vue
index d3e52c8..cbbf373 100644
--- a/衡水博爱健康医院医院小程序/pages/user/edit/edit.vue
+++ b/衡水博爱健康医院医院小程序/pages/user/edit/edit.vue
@@ -27,10 +27,17 @@
default: '0'
}
});
+ // 1. 添加初始化标志
+ const isInitialized = ref(false)
+
+ // 2. 修改 onShow
onShow(() => {
- UserPersonCount()
- UserPersonInfo()
- setTitle()
+ UserPersonCount()
+ if (!isInitialized.value) {
+ UserPersonInfo()
+ isInitialized.value = true
+ }
+ setTitle()
})
const setTitle = () => {
let title = '修改体检人'
diff --git a/衡水博爱健康医院医院报告对比/components/report/type2.vue b/衡水博爱健康医院医院报告对比/components/report/type2.vue
index 38defa0..24886e5 100644
--- a/衡水博爱健康医院医院报告对比/components/report/type2.vue
+++ b/衡水博爱健康医院医院报告对比/components/report/type2.vue
@@ -39,7 +39,7 @@
{{ ii.icon }}{{ ii.content }}
+ ]">{{ ii.content }} {{ ii.icon }}
{{ ii.desc }}