首页 > 其他分享 >ElementUI中el-table-column的type为selection时选择框旁边有个点

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

时间:2023-02-06 18:02:20浏览次数:53  
标签:el selection ElementUI column 勾选框 table type


场景

使用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时选择框旁边有个点_el-table_02

 

标签:el,selection,ElementUI,column,勾选框,table,type
From: https://blog.51cto.com/BADAOLIUMANGQZ/6040058

相关文章