Browse Source
fix(BasicTable): getSelectRows return duplicate records (#3545)
pull/3549/head
xachary
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
1 deletions
-
src/components/Table/src/hooks/useRowSelection.ts
|
|
|
@ -126,7 +126,6 @@ export function useRowSelection( |
|
|
|
const found = allSelectedRows.find( |
|
|
|
(item) => parseRowKeyValue(unref(getRowKey), item) === keyValue, |
|
|
|
); |
|
|
|
found && trueSelectedRows.push(found); |
|
|
|
if (found) { |
|
|
|
trueSelectedRows.push(found); |
|
|
|
} else { |
|
|
|
|