0.1.0
window7
2.5.17-beta.0
https://jsfiddle.net/mmx38qxw/1690/
最新版css完全没有效果
能够更改
不能更改
Translation of this issue:
0.1.0
Window7
2.5.17-beta.0
https://jsfiddle.net/mmx38qxw/1690/
The latest version of CSS is completely ineffective
Can change
Cannot change
in 2.0.8 can change the style
However in 2.3.4 , it is not work
2.1.0 对 Table 进行了一定程度的重构,目前表头的背景色是由
.el-table th, .el-table tr {
background-color: #fff;
}
定义的,因此修改 <tr> 元素的背景色后,仍会被 <th> 的背景色覆盖。如果要修改背景色,请使用 header-cell-style:https://jsfiddle.net/leopoldthecuber/mmx38qxw/1705/
Most helpful comment
2.1.0 对 Table 进行了一定程度的重构,目前表头的背景色是由
定义的,因此修改
<tr>元素的背景色后,仍会被<th>的背景色覆盖。如果要修改背景色,请使用header-cell-style:https://jsfiddle.net/leopoldthecuber/mmx38qxw/1705/