Skip to content

table 的全选/返选 使用hideDefaultSelections 不能去掉 #851

@kvsl9

Description

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

Version

1.3.10

Environment

win10

Reproduction link

https://vue.ant.design/components/table-cn/#API

Steps to reproduce

<a-table
:loading="tableLoading"
:columns="tableColumns"
:dataSource="tableData"
@change="changeTable"
bordered
:rowKey="getRowKey"
:pagination="pagination"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: changeSelectTableRow,hideDefaultSelections:true}"

What is expected?

rowSelection设置了hideDefaultSelections:true去掉『全选』『反选』两个默认选项, 表格中的全选 /反选 应该禁用

What is actually happening?

rowSelection设置了hideDefaultSelections:true去掉『全选』『反选』两个默认选项, 不启作用

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions