场景

使用el-table的多选框时,el-table-column的type为selection时,显示为勾选框。

但是会在勾选框旁边显示一个实心的小点。

ElementUI中el-table-column的type为selection时选择框旁边有个点

 

 

ElementUI中el-table-column的type为selection时选择框旁边有个点

注:

博客:
https://blog.csdn.net/badao_liumang_qizhi
关注公众号
霸道的程序猿
获取编程相关电子书、教程推送与免费下载。

这是因为在设置el-table-column的宽度为30后太窄的原因。

 <el-table-column type="selection" width="30" align="center" />

将其宽度调大点。

 <el-table-column type="selection" width="55" align="center" />

ElementUI中el-table-column的type为selection时选择框旁边有个点

相关文章:

  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-29
  • 2021-11-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-15
相关资源
相似解决方案