From 2bf2c704cbcf3ed25fb2e4535c089566f8140ede Mon Sep 17 00:00:00 2001 From: liyawei Date: Wed, 28 Sep 2022 14:26:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=90=88=E8=A7=84=E8=AF=84?= =?UTF-8?q?=E4=BC=B0=E6=B5=81=E7=A8=8B=EF=BC=8C=E8=B4=A3=E4=BB=BB=E4=BA=BA?= =?UTF-8?q?=E5=A1=AB=E5=86=99=E8=AF=84=E4=BC=B0=E5=8F=8D=E9=A6=88=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9D=A1=E6=AC=BE=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/creatProcess/xmpg/step3.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue index d1c3403bf..449a81873 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg/step3.vue @@ -949,11 +949,13 @@ export default { if (item.workPeople === "请选择责任人") { item.workPeople = ""; } - item.children.forEach(val => { - if(val.termsConditions){ - delete val.termsConditions - } - }) + if(item.children){ + item.children.forEach(val => { + if(val.termsConditions){ + delete val.termsConditions + } + }) + } }); this.isSubmit = true; this.listForm.commentText = this.commentText;