Browse Source

查看按钮修改

duy 1 year ago
parent
commit
00af301f14
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/other-file/image-view.vue

+ 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')