perf: asset滚动条区域临时解决方案
This commit is contained in:
@@ -1235,10 +1235,13 @@ li{
|
|||||||
height: 6px;
|
height: 6px;
|
||||||
}
|
}
|
||||||
.el-table__fixed-right {
|
.el-table__fixed-right {
|
||||||
right: 10px !important;
|
right: 0px !important;
|
||||||
|
}
|
||||||
|
.asset .ps__rail-y {
|
||||||
|
z-index: 2000;
|
||||||
}
|
}
|
||||||
.el-table__fixed-right-patch {
|
.el-table__fixed-right-patch {
|
||||||
width: 10px !important;
|
width: 0px !important;
|
||||||
background-color: #fcfcfc;
|
background-color: #fcfcfc;
|
||||||
}
|
}
|
||||||
.el-table__fixed-body-wrapper {
|
.el-table__fixed-body-wrapper {
|
||||||
|
|||||||
@@ -710,7 +710,10 @@
|
|||||||
pageSize(val) {
|
pageSize(val) {
|
||||||
this.pageObj.pageSize = val;
|
this.pageObj.pageSize = val;
|
||||||
localStorage.setItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId, val);
|
localStorage.setItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId, val);
|
||||||
this.getAssetData()
|
this.getAssetData();
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.gutterHandler(".nz-table");
|
||||||
|
});
|
||||||
},
|
},
|
||||||
getPrincipalName(data) {
|
getPrincipalName(data) {
|
||||||
for (let item in this.idcUserData) {
|
for (let item in this.idcUserData) {
|
||||||
@@ -781,6 +784,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
|
this.gutterHandler(".nz-table");
|
||||||
//左侧dc列表初始选中状态
|
//左侧dc列表初始选中状态
|
||||||
if (this.$store.state.assetData.selectedData.length > 0) {
|
if (this.$store.state.assetData.selectedData.length > 0) {
|
||||||
this.checkList = [];
|
this.checkList = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user