特殊人群

This commit is contained in:
shijingjing
2022-03-11 11:32:39 +08:00
parent f12aad9282
commit bbd0626156
3 changed files with 42 additions and 10 deletions

View File

@@ -405,7 +405,7 @@ export default {
})
this.formData[items.fieldDbName] = list?.toString()
}
if (items.type == 'upload' && this.formData[items.fieldDbName].length) { //附件 只传id
if (items.type == 'upload' && this.formData[items.fieldDbName]?.length) { //附件 只传id
var files = []
this.formData[items.fieldDbName].map((item) => {
files.push(item.id)