分类:
前端
在表格上增加 :header-cell-style就行了
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" :header-cell-style="{background:'#f8f8f9',color:'#515a6e'}"//表头样式 style="width: 100%;margin-top:10px" @selection-change="handleSelectionChange" >
欢迎加群讨论技术,群:677373950(满了,可以加,但通过不了),2群:656732739
评价