perf[sidebar.css]: perf collapse transition Pan committed
This commit is contained in:
parent
563ce873bd
commit
0cccc636b8
|
@ -7,6 +7,9 @@
|
|||
}
|
||||
// 侧边栏
|
||||
.sidebar-container {
|
||||
.horizontal-collapse-transition {
|
||||
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
|
||||
}
|
||||
transition: width .28s;
|
||||
width: 180px !important;
|
||||
height: 100%;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<scroll-bar>
|
||||
<el-menu
|
||||
mode="vertical"
|
||||
:collapse-transition="false"
|
||||
:show-timeout="200"
|
||||
:default-active="$route.path"
|
||||
:collapse="isCollapse"
|
||||
|
|
Loading…
Reference in New Issue