Closed xuxiujuan closed 5 years ago
这是预期的行为,翻页之后,表格实际重新渲染了,表格本身不会没有做记录。
你可以通过 selection-change
事件自己记录选择过的 row,然后在翻页的时候利用 toggleRowSelection
方法去实现勾选。
如果这个需求,想要的人多的话,我也考虑,后期在这个库里实现。
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Please follow the issue template, or your issue may be closed automatically.
For bug report, provide the following section
Online reproduce
It is important to provide an online sample to reproduce the issue.
Expected Behavior
Current Behavior
当表格有一列el-table-column的type=“selection”时,在第一页选中某个checkbox,切换到第二页,再切换到第一页,第一页的选中状态就没了
Steps to Reproduce
Detailed Description
For feature request, provide the following section
Motivation / Use Case
Expected Behavior
Other Information