Parcourir la source

列表高度补全

yangxiao il y a 3 ans
Parent
commit
fbfa1c2e6d
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 2
      src/views/cutAnalyse/index.vue
  2. 1 1
      src/views/wtSaturability/tab1.vue

+ 2 - 2
src/views/cutAnalyse/index.vue

@@ -25,10 +25,10 @@
 			</div>
 		</div>
     <div class="df-table">
-      <ComTable :data="tableData"></ComTable>
+      <ComTable height="100vh" :data="tableData"></ComTable>
     </div>
     <el-dialog title="切入切出风速整合历史" v-model="dialogShow" width="85%" top="10vh" custom-class="modal" :close-on-click-modal="true" @closed="dialogType = ''">
-      <ComTable :data="tableHistoryData"></ComTable>
+      <ComTable height="100vh" :data="tableHistoryData"></ComTable>
     </el-dialog>
   </div>
 </template>

+ 1 - 1
src/views/wtSaturability/tab1.vue

@@ -26,7 +26,7 @@
       </div>
     </div>
     <div class="df-table">
-      <ComTable :data="tableData"></ComTable>
+      <ComTable height="100vh" :data="tableData"></ComTable>
     </div>
     <Mlc height="300px" :list="chartData" :units="chartUnit" :showLegend="true" />
   </div>