feat: There is no way the,

This commit is contained in:
super_liu
2022-03-31 16:01:48 +08:00
parent b8c0c19cc4
commit 8bb44b8e5a
@@ -2537,7 +2537,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/downloadFileForSarNew?fileId=' + attId