ElemeFE / ElemeFE/element-react

table 多选分页后不会记住选中状态

Open
#912 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

### Description
table 多选分页后不会记住选中状态,

table 多页数据,第一页选中部分数据,点击下一页后,再返回上一页,最开始选中的数据`Selection`被清空了

设置 reserveSelection = true 也无效

```
{
type: 'selection',
reserveSelection: true, // 为 true 则代表会保留之前数据的选项,需要配合 Table 的 clearSelection 方法使用。
},
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.