在表格中为了区分表格的我们会将表格的表头进行高亮,我们就可以使用header-cell-style属性来设置 <el-table :header-cell-style="{background:' #e7e1fb'}">效果