From 2897648b9fc2929881682f4c17428a2ae56db686 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Wed, 3 Apr 2024 11:14:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E5=B9=B4=E4=BA=BA=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/editResi.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/components/editResi.vue b/src/views/components/editResi.vue index 6d94c4bd3..7f0f6aeea 100644 --- a/src/views/components/editResi.vue +++ b/src/views/components/editResi.vue @@ -1600,7 +1600,13 @@ export default { employmentWish: null, //劳动能力就业愿望 }; } - + if (!res.data.data.oldPeopleDto) { + this.form.oldPeopleDto = { + oldPeopleCategories: [], + resideSituation: null, + oldSubsidy: null + }; + } for (const key in this.form.baseInfoDto.categoryInfo) { if ( (this.form.baseInfoDto.categoryInfo[key] === 1 && @@ -2085,7 +2091,6 @@ export default { ); } } - // 处理 incidence if (this.incidence[value]) { if (event) {