提交: 优化 项目管理 详情页 导致列表页 overFlow hidden;
This commit is contained in:
parent
57c5124828
commit
cae7f69b8b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue