提交: 优化 项目管理 详情页 导致列表页 overFlow hidden;
This commit is contained in:
parent
57c5124828
commit
cae7f69b8b
|
@ -414,7 +414,17 @@ export default {
|
||||||
this.projectTypeOptions = response.data;
|
this.projectTypeOptions = response.data;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
destroyed() {
|
||||||
|
document.getElementById("con_lf_top_div").style.overflow = "auto";
|
||||||
|
},
|
||||||
watch: {
|
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: {
|
isFoldRight: {
|
||||||
handler(newValue) {
|
handler(newValue) {
|
||||||
if (!newValue) {
|
if (!newValue) {
|
||||||
|
|
Loading…
Reference in New Issue