fix 80852

This commit is contained in:
danshihao
2024-01-16 15:02:11 +08:00
parent c0b0ecbfd3
commit e3ba64ff86
@@ -437,7 +437,16 @@ export default {
this.$message.success(info.file.response.message || `${info.file.name} 文件上传成功`)
}
this.fileList.push(info.file.response.result)
this.confirmLoading = true
this.getFileInfoArr(info.file.response.result.id).then(arr => {
if (arr) {
this.fileList.push(arr[0])
} else {
this.fileList.push(info.file.response.result)
}
}).finally(() => {
this.confirmLoading = false
})
} else {
this.messageLineFeed('文件导入错误', info.file.response.message)
}