el-table fixed scroll disorder

el-table fixed scroll disorder

Many recommended data updates to redraw the table: $refs.xxx.doLayout(), sometimes it doesn’t work, you might as well try the following method:
The table and fixed columns are two tables, check the class name of the fixed table and set the bottom margin to horizontal The height of the scrollbar scrollbar.el
-table__fixed-body-wrapper .el-table__body{ padding-bottom:8px; }

Encountered a problem, keep it as a reference

Guess you like

Origin blog.csdn.net/weixin_43392545/article/details/126163010