Commit 1ce8cfd7 by 唐贵贤
parents d50e83ef 5d098cc9
......@@ -9,7 +9,7 @@
<el-button icon="el-icon-s-unfold" v-else @click="openMenu"></el-button>
<c-search-input v-show="menuOpen"></c-search-input>
</div>
<c-content :height="0">
<c-content :height="menusHeight">
<el-menu
:default-active="activeMenu"
class="el-menu-vertical-demo"
......@@ -109,6 +109,7 @@ export default {
{ inifrm: "infusr", ininam: "用户信息", pntmiu: "10" },
],
menus: [],
menusHeight: 0
};
},
computed: {
......@@ -125,6 +126,9 @@ export default {
})
}
},
created() {
this.menusHeight = 60 + 46 + 8;
},
mounted() {
const arr = [];
this.generateMenuTree(arr);
......
......@@ -61,7 +61,7 @@ export default {
transition: width 300ms;
/* overflow: hidden; */
overflow: unset;
padding-bottom: 68px;
/* padding-bottom: 68px; */
box-sizing: border-box;
}
</style>
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