Commit 1429f257 authored by zhengke's avatar zhengke

修改

parent 0841452d
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
.mainContainer .main_routerPage { .mainContainer .main_routerPage {
padding: 20px; padding: 20px;
/* height:100%; */ overflow-y: scroll;
} }
</style> </style>
...@@ -380,7 +380,7 @@ ...@@ -380,7 +380,7 @@
</ul> </ul>
</div> </div>
</div> </div>
<div class="main_routerPage"> <div class="main_routerPage" :style="{minHeight: Height+'px'}">
<router-view /> <router-view />
</div> </div>
</div> </div>
...@@ -395,6 +395,7 @@ ...@@ -395,6 +395,7 @@
showTwo: false, showTwo: false,
defaultActive: '1-1', defaultActive: '1-1',
currentUser: {}, currentUser: {},
Height:0,
MenuList: [], //菜单列表 MenuList: [], //菜单列表
}; };
}, },
...@@ -431,6 +432,11 @@ ...@@ -431,6 +432,11 @@
}, },
mounted() { mounted() {
this.getMenuList(); 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