Skip to content

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

Open
@ChaineseBird

Description

@ChaineseBird
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions