zhangym 2 년 전
부모
커밋
1cfcbb32c8
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/views/energyOperationSupport/components/securitys/pic2.vue

+ 0 - 2
src/views/energyOperationSupport/components/securitys/pic2.vue

@@ -1279,11 +1279,9 @@ export default {
         let blob = new Blob([res], {
           type: type
         });
-        if (fileExtension !== 'pdf') {
           blob = new Blob([res.data], {
             type: type
           });
-        }
         let blobURL = urlObject.createObjectURL(blob);
         that.dialogVisible = true;
         that.previewUrl = blobURL;