Commit 1429f257 authored by zhengke's avatar zhengke

修改

parent 0841452d
......@@ -269,7 +269,7 @@
.mainContainer .main_routerPage {
padding: 20px;
/* height:100%; */
overflow-y: scroll;
}
</style>
......@@ -380,7 +380,7 @@
</ul>
</div>
</div>
<div class="main_routerPage">
<div class="main_routerPage" :style="{minHeight: Height+'px'}">
<router-view />
</div>
</div>
......@@ -395,6 +395,7 @@
showTwo: false,
defaultActive: '1-1',
currentUser: {},
Height:0,
MenuList: [], //菜单列表
};
},
......@@ -431,6 +432,11 @@
},
mounted() {
this.getMenuList();
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化 
window.onresize = () => {
this.Height = document.documentElement.clientHeight - 60
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment