思路
如果使用的node脚手架,你的style标签长这样:<style scoped></style>
,那么只需要在给header-row-class-name或者row-class-name指定的css类上做个样式穿透。
解决办法
如:
<el-table
row-class-name="table-row-class"
></el-table>
<style scoped>
/deep/.table-row-class{
color: red;
}
</style>
标签:解决办法,name,header,table,class,row
From: https://www.cnblogs.com/aiyablog/p/17411139.html