Przeglądaj źródła

查看按钮修改

duy 1 rok temu
rodzic
commit
00af301f14
1 zmienionych plików z 1 dodań i 1 usunięć
  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')