duy 1 жил өмнө
parent
commit
00af301f14

+ 1 - 1
src/views/other-file/image-view.vue

@@ -376,7 +376,7 @@ const previewClick = async (item) => {
         } else {
             window.$message?.warning('暂无可预览的资料文件')
         }
-    } else if (parseInt(type) === 2 || type === null) {
+    } else if (parseInt(type) === 2 || type === null || type === -1) {
         if (margePdfUrl) {
             toPdfPage(margePdfUrl)
             //window.open(margePdfUrl, '_blank')