Commit 83ce4fa4 authored by 王晓倩's avatar 王晓倩

修复菜单样式问题

parent 7266944b
<template>
<div class="wrapper" id="navbar">
<el-scrollbar class="el-scrollbar">
<!-- <el-scrollbar class="el-scrollbar">-->
<el-menu :default-active="$router.currentRoute.path" class="el-menu-vertical-demo" router>
<!-- router属性 是否使用 vue-router 的模式,启用该模式会在激活导航时以 index 作为 path 进行路由跳转 -->
<template v-for="(item,bindex) in currentRouterArr">
......@@ -31,7 +31,7 @@
</div>
</template>
</el-menu>
</el-scrollbar>
<!-- </el-scrollbar>-->
</div>
</template>
<script lang="ts">
......@@ -62,9 +62,9 @@ export default class Navbar extends Vue {
#navbar {
$bgColor:#5f5f61;
$txtColor:#c9c9c9;
width: 200px;
width: 210px;
height: 100%;
overflow: hidden;
overflow: auto;
.el-menu-item {
&:hover {
background: #9fd0ff;
......
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