File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 11// 侧边栏
22.sidebar-container >.el-menu {
33 width : 100% !important ;
4+ min-height : 100% ;
45}
56
67.sidebar-container .svg-icon {
Original file line number Diff line number Diff line change 5050 bottom : 0 ;
5151 left : 0 ;
5252 z-index : 1001 ;
53- background : red ;
53+ overflow-y : auto ;
54+ & ::-webkit-scrollbar {display :none }
5455 }
5556 .main-container {
5657 min-height : 100% ;
Original file line number Diff line number Diff line change 11<template >
2- <div >
3- <el-menu mode =" vertical" theme =" dark" :default-active =" $route.path" :collapse =" isCollapse" >
4- <sidebar-item :routes =' permission_routers' ></sidebar-item >
5- </el-menu >
6- </div >
2+ <el-menu mode =" vertical" theme =" dark" unique-opened :default-active =" $route.path" :collapse =" isCollapse" >
3+ <sidebar-item :routes =' permission_routers' ></sidebar-item >
4+ </el-menu >
75</template >
86
7+
98<script >
109 import { mapGetters } from ' vuex' ;
1110 import SidebarItem from ' ./SidebarItem' ;
2221 }
2322 }
2423 </script >
25-
26- <style rel="stylesheet/scss" lang="scss" scoped>
27- .el-menu {
28- min-height : 100% ;
29- }
30- </style >
You can’t perform that action at this time.
0 commit comments