bug 79398
This commit is contained in:
@@ -173,7 +173,7 @@ export default {
|
||||
this.initFileList()
|
||||
this.visible = true
|
||||
},
|
||||
initFileList () {
|
||||
async initFileList () {
|
||||
if (!this.fileIds) {
|
||||
return
|
||||
}
|
||||
@@ -184,12 +184,12 @@ export default {
|
||||
fileIdArr = this.fileIds.split(',')
|
||||
}
|
||||
const fileList = []
|
||||
fileIdArr.forEach(async id => {
|
||||
for (const id of fileIdArr) {
|
||||
const fileInfo = await this.getFileInfoByFileId(id)
|
||||
if (fileInfo) {
|
||||
fileList.push(fileInfo)
|
||||
}
|
||||
})
|
||||
}
|
||||
this.fileList = fileList
|
||||
console.log(this.fileList)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user