mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 05:29:26 +08:00
fix: record picker not displaying selected items when selecting across pages (#5770)
This commit is contained in:
parent
f1ffc114f4
commit
ac995c4eaf
@ -51,6 +51,9 @@ export const useTableSelectorProps = () => {
|
||||
rowKey,
|
||||
rowSelection: {
|
||||
type: multiple ? 'checkbox' : 'radio',
|
||||
selectedRowKeys: rcSelectRows
|
||||
?.filter((item) => options.every((row) => row[rowKey] !== item[rowKey]))
|
||||
.map((item) => item[rowKey]),
|
||||
},
|
||||
onRowSelectionChange(selectedRowKeys, selectedRows) {
|
||||
if (multiple) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user