element ui comes with using the scroll bar
In the container of direct outer layer is added (need to show that a scroll bar)
<el-scrollbar style="height:100%"></el-scrollbar>
in case
Note Adding style height: 100%
Also add a global style
body .el-scrollbar__wrap { overflow-x: hidden; }