实现效果:

el-table的多选框表头增加全选字样

 

 

实现方法:

在el-table-column中设置label属性并不会起作用,因此全选二字需要使用CSS来实现

.el-table__header .el-table-column--selection .cell .el-checkbox:after {
  color: #333;
  content: "全选";
  font-size: 16px;
  margin-left: 12px;
  font-weight: bold;
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-02
  • 2022-01-31
  • 1970-01-01
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
相关资源
相似解决方案