gangyj 2 lat temu
rodzic
commit
755381206c
1 zmienionych plików z 4 dodań i 5 usunięć
  1. 4 5
      src/views/exctab/excelmodel/excelmodel.vue

+ 4 - 5
src/views/exctab/excelmodel/excelmodel.vue

@@ -119,7 +119,8 @@
       <div class="boxnei">
         <div
           class="marleft10"
-          style="height:100%;"
+          style="height:100%;
+          display: flex;flex-direction: column;"
         >
           <!-- 上传、删除、下载操作栏 -->
           <div
@@ -212,12 +213,11 @@
           <div
             class="martop20"
             v-if="from.fileUrl"
-            style="height:94%;"
+            style="flex:1;"
           >
             <iframe
               :src="excelSrc"
-              width="100%"
-              height="100%"
+              style="width:100%;height:100%;"
             ></iframe>
           </div>
         </div>
@@ -925,7 +925,6 @@ export default {
 
       this.$refs.file3.clearFiles();
     }
-
   },
   created () {
     this.excelType()//清表类型