Antd Design Vue中 修改table表格鼠标移入的行样式
在使用ant-design-vue库的表格组件的时候,表格内因为有a-switch开关组件,导致在鼠标经过当前行的后,a-switch所在的td,border-bottom样式消失,
·
Antd Design Vue中 修改table表格鼠标移入的行样式
a-table的父级盒子选择器 >>> .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-row-hover,.ant-table-row-hover>td{
background:none !important;
}
需求记录:
在使用ant-design-vue库的表格组件的时候,表格内因为有a-switch开关组件,导致在鼠标经过当前行的后,a-switch所在的td,border-bottom样式消失,
- 如图所示(bug复现)
解决此bug
取消 表格鼠标移入的行 背景色样式
更多推荐
已为社区贡献3条内容
所有评论(0)