应用领域字符串BUG

This commit is contained in:
a0049873 2022-12-08 15:18:55 +08:00
parent 9ae885b985
commit f32461bbdd
1 changed files with 3 additions and 1 deletions

View File

@ -288,6 +288,8 @@
formName.demandSubject = res.data.data.demandSubject formName.demandSubject = res.data.data.demandSubject
formName.detailsType = res.data.data.detailsType formName.detailsType = res.data.data.detailsType
formName.detailsField = res.data.data.detailsField formName.detailsField = res.data.data.detailsField
.split(';')
.filter((val) => val)
formName.demandDetails = res.data.data.demandDetails formName.demandDetails = res.data.data.demandDetails
formName.enclosure = res.data.data.enclosure formName.enclosure = res.data.data.enclosure
fileList.value = [ fileList.value = [
@ -348,7 +350,7 @@
formName.enclosure = info.file.response.data formName.enclosure = info.file.response.data
} else if (info.file.status === 'error') { } else if (info.file.status === 'error') {
formName.enclosure = '' formName.enclosure = ''
fileList.value=[] fileList.value = []
message.error(`${info.file.name} 文件上传失败`) message.error(`${info.file.name} 文件上传失败`)
} }
} }