Commit 5b26ddc9 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化表格滚动

parent ea127a2b
......@@ -52,7 +52,6 @@
:data="tableData"
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
>
<el-table-column
......
......@@ -90,7 +90,7 @@
size="small"
tooltip-effect="dark"
style="width: 100%"
max-height="650px"
max-height="630px"
border
:row-key="(row) => row.id"
@selection-change="handleSelectionChange"
......@@ -417,4 +417,4 @@ export default {
text-overflow: ellipsis;
white-space: nowrap;
}
</style>
\ No newline at end of file
</style>
......@@ -55,7 +55,6 @@
border
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
@selection-change="handleSelectionChange"
>
......@@ -282,4 +281,4 @@ export default {
// height: 550px;
// }
}
</style>
\ No newline at end of file
</style>
......@@ -57,7 +57,6 @@
border
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
highlight-current-row
reserve-selection
:row-key="(row) => row.id"
......@@ -178,7 +177,6 @@
border
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
@selection-change="handleSelectionChangeRight"
>
......@@ -607,4 +605,4 @@ export default {
width: 59%;
border-radius: 4px;
}
</style>
\ No newline at end of file
</style>
......@@ -58,7 +58,6 @@
v-loading="loadingLeft"
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
@selection-change="handleSelectionChange"
ref="leftTable"
......@@ -212,7 +211,6 @@
v-loading="loadingRight"
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
@selection-change="handleSelectionChangeRight"
>
......
......@@ -33,7 +33,6 @@
border
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
@selection-change="handleSelectionChange"
>
......@@ -255,4 +254,4 @@ export default {
// height: 550px;
// }
}
</style>
\ No newline at end of file
</style>
......@@ -26,7 +26,6 @@
border
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
>
<el-table-column
......@@ -166,4 +165,4 @@ export default {
// height: 550px;
// }
}
</style>
\ No newline at end of file
</style>
......@@ -33,7 +33,6 @@
border
tooltip-effect="dark"
style="width: 100%"
max-height="676px"
:row-key="(row) => row.id"
@selection-change="handleSelectionChange"
>
......@@ -275,4 +274,4 @@ export default {
// height: 550px;
// }
}
</style>
\ No newline at end of file
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment