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