image.png
在使用 el-table的时候 会遇到表头与内容不对齐的情况

只需要在样式中加入

.el-table th.gutter{
   display: table-cell!important;
}