|
@@ -309,8 +309,8 @@ export default {
|
|
|
appDownLoadFile(name, types, fileUrl, size)
|
|
|
})
|
|
|
} else {
|
|
|
- // location.href = fileUrl
|
|
|
- window.open(fileUrl)
|
|
|
+ location.href = fileUrl
|
|
|
+ // window.open(fileUrl)
|
|
|
}
|
|
|
} else {
|
|
|
// fileUrl: 下载地址
|
|
@@ -325,8 +325,8 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
} else {
|
|
|
- window.open(fileUrl)
|
|
|
- // location.href = fileUrl
|
|
|
+ // window.open(fileUrl)
|
|
|
+ location.href = fileUrl
|
|
|
}
|
|
|
} else {
|
|
|
console.log('获取附件fid失败')
|