From 2fb160b5f7ebde135a2ba2e44c86d9ae4fdec87e Mon Sep 17 00:00:00 2001 From: "Jiangjie.Bai" Date: Tue, 16 Aug 2022 15:51:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E7=9A=84=E8=AE=BE=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?gcp=20=E7=9A=84=20attrs=20=E5=AD=97=E6=AE=B5=E4=B8=AD=E6=98=AF?= =?UTF-8?q?=20child=20=E4=B8=8D=E6=98=AF=20children?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AutoDataForm/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/AutoDataForm/index.vue b/src/components/AutoDataForm/index.vue index 9b6c39dda..35bc850ef 100644 --- a/src/components/AutoDataForm/index.vue +++ b/src/components/AutoDataForm/index.vue @@ -87,7 +87,9 @@ export default { valueSet = {} } form[k] = valueSet - this._cleanFormValue(form[k], v.children) + if (v.children) { + this._cleanFormValue(form[k], v.children) + } } if (v.default === undefined) { continue