Эх сурвалжийг харах

fix: 添加文档高度

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 жил өмнө
parent
commit
aa9a1838e4

+ 2 - 2
jydocs-pc/src/views/Content.vue

@@ -41,7 +41,7 @@
             <div class="file-content file-word-docx" id="docxPage" v-if="fileTypeThis === 'docx'">
               <vue-office-docx
                   :src="fileSrc.docSrc"
-                  style="margin-bottom: 24px;"
+                  style="margin-bottom: 24px; height: 100vh;"
                   @rendered="rendered"
               />
             </div>
@@ -49,7 +49,7 @@
               <vue-office-excel
                   :src="fileSrc.excelSrc"
                   :options="excelOptions"
-                  style="margin-bottom: 24px;"
+                  style="margin-bottom: 24px; height: 100vh"
                   @rendered="rendered"
                   @error="errorHandler"
               />