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

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