fix: 修改表单默认值的设置,gcp 的 attrs 字段中是 child 不是 children

This commit is contained in:
Jiangjie.Bai 2022-08-16 15:51:57 +08:00 committed by Jiangjie.Bai
parent 4ed9fb2acc
commit 2fb160b5f7

View File

@ -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