feat: There is no way the,
This commit is contained in:
@@ -1908,7 +1908,12 @@
|
||||
},
|
||||
// 文件预览及下载
|
||||
handleFilePreview(file) {
|
||||
const attId = file.response.data.id
|
||||
let attId = ""
|
||||
if(file && file.id){
|
||||
attId = file.id
|
||||
}else {
|
||||
attId = file.response.data.id
|
||||
}
|
||||
if (this.preview) {
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
|
||||
@@ -2153,7 +2153,12 @@
|
||||
},
|
||||
// 文件预览及下载
|
||||
handleFilePreview(file) {
|
||||
const attId = file.response.data.id
|
||||
let attId = ""
|
||||
if(file && file.id){
|
||||
attId = file.id
|
||||
}else {
|
||||
attId = file.response.data.id
|
||||
}
|
||||
if (this.preview) {
|
||||
if (attId) {
|
||||
window.location.href = '/api/att/attFile/downloadFileForSar?fileId=' + attId
|
||||
|
||||
Reference in New Issue
Block a user