jxq преди 2 месеца
родител
ревизия
9d27363f20
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/components/PDFView/index.vue

+ 2 - 1
src/components/PDFView/index.vue

@@ -24,9 +24,10 @@
     destroy-on-close
     direction="rtl"
     :append-to-body="true"
-    size="972px"
+    size="60%"
   >
     <VuePdfEmbed
+      v-if="needToShowPdf"
       :source="{
         url: pdfSource,
         cMapUrl: '/cmaps/',