perf[sidebar.css]: perf collapse transition
This commit is contained in:
parent
74bb623d68
commit
b97702d628
|
@ -7,6 +7,9 @@
|
||||||
}
|
}
|
||||||
// 侧边栏
|
// 侧边栏
|
||||||
.sidebar-container {
|
.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;
|
transition: width .28s;
|
||||||
width: 180px !important;
|
width: 180px !important;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<scroll-bar>
|
<scroll-bar>
|
||||||
<el-menu
|
<el-menu
|
||||||
mode="vertical"
|
mode="vertical"
|
||||||
:collapse-transition="false"
|
|
||||||
:show-timeout="200"
|
:show-timeout="200"
|
||||||
:default-active="$route.path"
|
:default-active="$route.path"
|
||||||
:collapse="isCollapse"
|
:collapse="isCollapse"
|
||||||
|
|
Loading…
Reference in New Issue