提交 d08796d0 编写于 作者: Mr.奇淼('s avatar Mr.奇淼(

vue-scroll引入

上级 a3eacf5f
......@@ -4,8 +4,8 @@
<i class="el-icon-arrow-right" v-if="isCollapse"></i>
<i class="el-icon-arrow-left" v-else></i>
</div>
<transition name="el-zoom-in-top">
<el-scrollbar style="height:calc(100vh - 53px)">
<transition name="el-zoom-in-top">
<el-menu
:class="['el-menu-vertical',!isCollapse&&'noCollapse']"
:collapse="isCollapse"
......@@ -19,8 +19,8 @@
v-for="item in asyncRouters[0].children"
/>
</el-menu>
</el-scrollbar>
</transition>
</el-scrollbar>
</div>
</template>
......
......@@ -108,7 +108,7 @@ $mainHight: calc(100vh - 52px);
}
.el-menu-vertical {
height: $mainHight !important;
height: calc(100vh - 67px) !important;
visibility: auto;
&.noCollapse {
width: 250px;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册