fix: 修复报告99.99%时即可预览的问题

This commit is contained in:
chenjinsong
2023-01-05 13:59:15 +08:00
parent aadfcb7fb3
commit 93bc75f25a

View File

@@ -161,6 +161,9 @@ export default {
if (this.$refs.dataTable.loadingTableId === u.id) { // 列表单个下载
return
}
if (u.state !== 1 || u.upload !== 1) {
return
}
let fileName = ''
let url = ''
let params = {}
@@ -220,6 +223,9 @@ export default {
if (this.$refs.dataTable.loadingPreviewId === u.id) { // 列表单个下载
return
}
if (u.state !== 1 || u.upload !== 1) {
return
}
const params = {
id: u.id
}