Commit 5d098cc9 by 潘际乾

页面

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