[update] 修改bug80751,企标库的左侧预览

This commit is contained in:
lideqin
2024-01-12 17:42:55 +08:00
parent 4a746774e2
commit 229f15c0c7
3 changed files with 31 additions and 16 deletions
@@ -180,10 +180,11 @@ export default {
fileId = res.result[item] ? res.result[item].split(',')[0] : ''
}
}
if (fileId)
this.getFileInfo(fileId).then(res => {
this.handlePreview(res)
})
if (fileId) {
this.getFileInfo(fileId).then(res => {
this.handlePreview(res)
})
}
}
}).finally(() => {
this.leftLoading = false