特殊人群

This commit is contained in:
yanran200730
2022-03-10 12:27:46 +08:00
parent 7f2d6942dc
commit 610631133a
5 changed files with 194 additions and 35 deletions

View File

@@ -136,7 +136,11 @@
}
}
formList[item.groupIndex]?.push(colItem) || (formList[item.groupIndex] = [colItem])
this.$set(this.formData, colItem.fieldDbName, colItem.fieldValue || "")
if (item.type === 'upload') {
this.$set(this.formData, colItem.fieldDbName, [])
} else {
this.$set(this.formData, colItem.fieldDbName, colItem.fieldValue || "")
}
})
this.formDataList = Object.values(formList)