tiny-vue
tiny-vue copied to clipboard
🐛 [Bug]: grid表格设置了select-config 的 reserve 属性之后,可以看到翻页前勾选的状态, 但是在通过getSelectRecords() 获取值的时候,无法获取到翻页前勾选的值
Version
~3.11.0
Vue Version
latest
Link to minimal reproduction
grid.value.getSelectRecords()
Step to reproduce
What is expected
No response
What is actually happening
No response
What is your project name
https://github.com/opentiny/tiny-vue/
Any additional comments (optional)
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: 🐛 [Bug]: After setting the reserve attribute of select-config in the grid table, you can see the checked status before turning the page. However, when getting the value through getSelectRecords(), you cannot get the check status. The value checked before the page
@traveler-h 目前getSelectRecords
是获取当前表格数据中已选中数据,如果需要获取选中数据目前可以同步grid.value.selection
获取,我们后续评估是否要提供获取配置了reserve后的selection
方法
Bot detected the issue body's language is not English, translate it automatically.
@traveler-h Currently, getSelectRecords
is used to obtain the selected data in the current table data. If you need to obtain the selected data, you can currently obtain it synchronously with grid.value.selection
. We will subsequently evaluate whether to provide selection
after configuring reserve. method