解决方案:
在<el-table>标签内,添加:header-cell-style属性。
代码:
<el-table
:header-cell-style="{fontSize: '14px', backgroundColor: '#f8f8f8',color:'#333'}"
>
在<el-table>标签内,添加:header-cell-style属性。
<el-table
:header-cell-style="{fontSize: '14px', backgroundColor: '#f8f8f8',color:'#333'}"
>