zhangym 2 år sedan
förälder
incheckning
1cfcbb32c8
1 ändrade filer med 0 tillägg och 2 borttagningar
  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;