修改预览

This commit is contained in:
qq787203167
2022-03-23 20:31:07 +08:00
parent 01f64f9b56
commit f4dfb1a382
4 changed files with 9 additions and 9 deletions
@@ -247,8 +247,6 @@
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
window.open(url, '_blank')
} else if (fileSuffix == '.xlsx' || fileSuffix == '.xls') {
console.log(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
downloadFile('/sys/common/download', fileQuery.fileName, { id: fileQuery.id })
let url = window._CONFIG['onlinePreviewDomainURL'] + '?url=' + Base64.encode(this.downLoadFileUrl + '/' + fileQuery.id + fileSuffix)
window.open(url, '_blank')
} else {