问题如图,固定列的高度和表格table设置的height一致,y轴滚动条下拉时固定列被截断:
问题代码:
<el-table :data="contentFormList" style="height: 20rem;overflow: auto" class="resetTableStyle" stripe>
修复:将style中的属性去掉,放在el-table标签的参数内
<el-table :data="contentFormList" height="25rem" class="resetTableStyle" stripe>