Commit c1a916f0 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化列表滚动

parent 5fbfa3f0
......@@ -316,6 +316,22 @@ img {
background-color: rgba(5, 149, 253, 1);
}
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
overflow: hidden !important;
margin-bottom: 0 !important;
padding-right: 6px;
tr:only-child > th:last-child {
border-right-color: #f0f0f0 !important;
}
}
.ant-table-placeholder {
width: calc(100% - 6px);
}
// .ant-table-header {
// background: #fff;
// }
::-webkit-scrollbar {
width: 6px;
height: 6px;
......
......@@ -112,7 +112,10 @@ export default {
tableHeaders,
searchName: "",
tableLoading: false,
BegindAndEndTime: [],
BegindAndEndTime: [
this.$moment().format("YYYY-MM-DD"),
this.$moment().format("YYYY-MM-DD"),
],
tableSourceData: [],
pageSizeOptions: ["10", "30", "50", "100"],
current: 1,
......@@ -166,7 +169,10 @@ export default {
},
resetSearch() {
this.current = 1;
this.BegindAndEndTime = [];
this.BegindAndEndTime = [
this.$moment().format("YYYY-MM-DD"),
this.$moment().format("YYYY-MM-DD"),
];
this.searchName = "";
this.getOperLogList();
},
......
......@@ -8,7 +8,7 @@
}
}
html{
html {
font-size: var(--base-font-size);
}
......@@ -25,8 +25,8 @@ html{
.effect-box {
position: sticky;
top: 0;
/* height: 100vh; */
min-height: 930rem;
height: 100vh;
/* min-height: 930rem; */
background-color: #031233;
perspective: 800px;
overflow: hidden;
......
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