perf: ASSET-list 窗口resize时滚动条刷新

This commit is contained in:
陈劲松
2020-04-16 21:34:44 +08:00
parent 0ab839a19d
commit 5c58e8eebf
3 changed files with 7 additions and 1 deletions

View File

@@ -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;