antd组件table选中行(单行/多行)高亮显示

1、选中行高亮显示

:global{

    .ant-table-tbody > tr.ant-table-row-selected td{

    background-color: #e6f7ff; 

   }

  }

2、hover颜色设置

.ant-table .ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td{

      background:#ccc

}

你可能感兴趣的:(antd组件table选中行(单行/多行)高亮显示)