美化首页的滚动条 使用element UI 自带的自定义滚动条组件。

This commit is contained in:
Devil 2018-06-07 18:28:22 +08:00
parent e40fd27775
commit 8a20612c95
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,8 @@
<template>
<div id="app">
<router-view></router-view>
<el-scrollbar class="pagescrollbar">
<router-view></router-view>
</el-scrollbar>
</div>
</template>

View File

@ -115,4 +115,7 @@
transition: none;
}
}
.pagescrollbar {
height: 100%;
}
}