소스 검색

fix: 添加文档高度

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 년 전
부모
커밋
aa9a1838e4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      jydocs-pc/src/views/Content.vue

+ 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"
               />