<div class="content">
<el-scrollbar style="width: 100%; height: 100%">
<ul>
<li v-for="(item, index) in arr" :key="index + 'pop'">
...
</li>
</ul>
</el-scrollbar>
</div>
ul{
height: 100%;
max-height: 150px;
}