预览
This commit is contained in:
@@ -241,7 +241,6 @@
|
|||||||
let index1 = fileName.lastIndexOf('.')
|
let index1 = fileName.lastIndexOf('.')
|
||||||
let index2 = fileName.length
|
let index2 = fileName.length
|
||||||
let fileSuffix = fileName.substring(index1, index2)
|
let fileSuffix = fileName.substring(index1, index2)
|
||||||
debugger
|
|
||||||
if (fileSuffix == '.pdf') {
|
if (fileSuffix == '.pdf') {
|
||||||
window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id))
|
window.open('/pdf/web/viewer.html?file=' + encodeURIComponent('/jero-boot/sys/common/pdf/viewFile?id=' + fileQuery.id))
|
||||||
} else if (fileSuffix == '.docx') {
|
} else if (fileSuffix == '.docx') {
|
||||||
|
|||||||
Reference in New Issue
Block a user