高度调整

This commit is contained in:
zhujiyan
2024-08-27 16:38:26 +08:00
parent 93fe619465
commit 2eb346e4c8
5 changed files with 12 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
<Maximize v-show="maximize" />
<Tabs v-if="tabs && showMenuFlag" />
<el-main>
<router-view v-slot="{ Component, route }" style="height: calc(100vh - 157px);overflow-y:auto; overflow-x:hidden;">
<router-view v-slot="{ Component, route }" style="height: calc(100vh - 157px);overflow-y:auto; overflow-x:hidden;" :style='{height:showMenuFlag?"calc(100vh - 157px)":" calc(100vh - 120px)"}'>
<transition appear name="fade-transform" mode="out-in">
<keep-alive :include="keepAliveName">
<component