perf: ASSET-list 窗口resize时滚动条刷新
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
}
|
||||
body {
|
||||
height: 100%;
|
||||
min-width: 1024px;
|
||||
}
|
||||
html {
|
||||
height: 100%;
|
||||
|
||||
@@ -993,7 +993,8 @@
|
||||
let _this = this;
|
||||
window.onresize = function () {
|
||||
_this.$refs.leftScrollbar.update();
|
||||
}
|
||||
el._ps_.update();
|
||||
};
|
||||
});
|
||||
let localStorageTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path);
|
||||
this.tablelable = localStorageTitle ? JSON.parse(localStorageTitle) : this.tableTitle;
|
||||
|
||||
@@ -443,8 +443,12 @@
|
||||
this.showTopBtn = false;
|
||||
}
|
||||
});
|
||||
window.onresize = function() {
|
||||
el._ps_.update();
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
this.tablelable = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)
|
||||
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path))
|
||||
: this.tableTitle;
|
||||
|
||||
Reference in New Issue
Block a user