Browse Source

修改新在线文档

hujunwei@agilestar.cn 2 years ago
parent
commit
64eb8b3b88
1 changed files with 10 additions and 3 deletions
  1. 10 3
      src/pages/main/onlineOfficeExcel/index.vue

+ 10 - 3
src/pages/main/onlineOfficeExcel/index.vue

@@ -276,7 +276,7 @@
                     </div>
                 </div>
             </el-dialog>
-            <el-dialog :modal="false" :title="officetitle" :visible.sync="officeStatus" style="height:100%;" width="100%"
+            <el-dialog :modal="false" :title="officetitle" :visible.sync="officeStatus" style="height:100% ;" :fullscreen="true" width="100%"
                 height="100%" center>
                 <div id="DocEditor" v-if="officeStatus">
                     <onlyoffice-editor editorId="DocEditor" :src="src" :config="config" @ready="onReady" />
@@ -1113,10 +1113,17 @@ svg {
 }
 
 #DocEditor {
-    // height: 100%;
-    height: 800px;
+    height: 100%;
 }
 
+::v-deep .el-dialog--center {
+    height: 100%;
+    margin-top: 10px !important;
+}
+
+::v-deep .el-dialog__body {
+    height: 100%;
+}
 .custom-tree-node {
     flex: 1;
     display: flex;