Skip to content

【表头分组】会影响change中filters和sorters的正确获取(Group will affect the correct acquisition of filters and sorting in change) #7160

@BillEliot

Description

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

Version

4.0.7

Environment

fork文档的CodeSandbox环境
(Same CodeSandbox environment as the document)

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 直接复制文档中【自定义筛选菜单】的CodeSandbox.
  2. 修改columns,在原有columns外加一个group.
  3. @change中log出filters,可以发现,filters中只包含当前确认的column,并且,当切换分页时,之前修改的filters丢失,打印filters为空。

(1. Directly copy the CodeSandbox in the [Customized filter panel] in the document.
2. Modify the columns and add a group to the original columns.
3. print the filters in @change and you can find that the filters only contain the currently confirmed columns, and when switching paging, the previously modified filters are lost and the printed filters are empty.)

What is expected?

@change中filters可以正常输出,即切换分页时,filters不为空。
(The filters in @change can be output normally, that is, when switching paging, the filters are not empty.)

What is actually happening?

@change中,切换分页时,filters为空。
(In @change, when switching paging, filters are empty.)

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