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