瀏覽代碼

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