调整table滚动兼顾使用滚动条

This commit is contained in:
2024-08-05 03:28:19 +08:00
parent 1d8d0a05e5
commit 5fc5146d01
10 changed files with 81 additions and 55 deletions

View File

@@ -81,7 +81,8 @@ export default {
<el-option v-for="(name,i) in options" :key="i" :label="name" :value="name"/>
</el-select>
</div>
<dv-scroll-board :config="tableConfig"/>
<scroll-table :table-data="tableData" :columns="columns"/>
<!--<dv-scroll-board :config="tableConfig"/>-->
<div class="summary flex">
<div class="item" v-for="(col,i) in summaryRow" :key="i" v-text="col.value" :style="col.style"/>
</div>
@@ -93,9 +94,10 @@ export default {
flex-shrink: 0 !important;
color: #fff;
box-sizing: border-box;
width: 660px;
}
.AppStoreMonitor .dv-scroll-board {
.AppStoreMonitor .dv-scroll-board,.AppStoreMonitor .scrollTable{
height: calc(100% - 30px - 55px) !important;
}