ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

a-table表格组件选择功能问题

Open ChaineseBird opened this issue 6 months ago • 2 comments
trafficstars

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

Windows11 ,Chrome 134,Vue 3.5.13

Reproduction link

https://www.antdv.com/components/table-cn#components-table-demo-row-selection-and-operation

Steps to reproduce

按照官方示例设置行选择功能,选中第一页任意一行后,再切换到第二页

What is expected?

在第一页选中一行后,全选框(checkBox)应该是半选样式,此时切换到第二页或者其它任何页时也应该如此

What is actually happening?

全选框只有在当前页有选中的项时才会有半选样式,当切换到没有选中项的页时,则是未选中状态,这不符合预期。

Image

Image

ChaineseBird avatar Apr 28 '25 05:04 ChaineseBird