<el-table
:data="tableData"
border
style="width: 100%"
:header-cell-style="{
'text-align': 'center', background: '#fff' }"
:cell-style="{
'text-align': 'center' }"
>
</el-table>
文字居中
表头背景颜色改变