當(dāng)前位置:
首頁 >
ElementUI中el-table-column的type为selection时选择框旁边有个点
發(fā)布時(shí)間:2025/3/19
50
豆豆
生活随笔
收集整理的這篇文章主要介紹了
ElementUI中el-table-column的type为selection时选择框旁边有个点
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
場(chǎng)景
使用el-table的多選框時(shí),el-table-column的type為selection時(shí),顯示為勾選框。
但是會(huì)在勾選框旁邊顯示一個(gè)實(shí)心的小點(diǎn)。
?
注:
博客:
https://blog.csdn.net/badao_liumang_qizhi
關(guān)注公眾號(hào)
霸道的程序猿
獲取編程相關(guān)電子書、教程推送與免費(fèi)下載。
實(shí)現(xiàn)
這是因?yàn)樵谠O(shè)置el-table-column的寬度為30后太窄的原因。
?<el-table-column type="selection" width="30" align="center" />將其寬度調(diào)大點(diǎn)。
?<el-table-column type="selection" width="55" align="center" />?
?
總結(jié)
以上是生活随笔為你收集整理的ElementUI中el-table-column的type为selection时选择框旁边有个点的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Windows服务器上Mysql为设置允
- 下一篇: ElementUI中el-time-pi