提交: 优化 项目管理 详情页 导致列表页 overFlow hidden;

This commit is contained in:
23688nl 2022-09-30 10:26:08 +08:00
parent 57c5124828
commit cae7f69b8b
1 changed files with 10 additions and 0 deletions

View File

@ -414,7 +414,17 @@ export default {
this.projectTypeOptions = response.data;
});
},
destroyed() {
document.getElementById("con_lf_top_div").style.overflow = "auto";
},
watch: {
$route(to, from) {
if (from.fullPath === '/project/project'){
document.getElementById("con_lf_top_div").style.overflow = "auto";
} else if (to.fullPath === '/project/project') {
document.getElementById("con_lf_top_div").style.overflow = "hidden";
}
},
isFoldRight: {
handler(newValue) {
if (!newValue) {