소스 검색

查看按钮修改

duy 1 년 전
부모
커밋
00af301f14
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')