0
点赞
收藏
分享

微信扫一扫

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


场景

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

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

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

 

注:


霸道的程序猿
获取编程相关电子书、教程推送与免费下载。

实现

这是因为在设置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时选择框旁边有个点_多选框_02

 

举报

相关推荐

0 条评论