fix(BasicTable): getSelectRows return duplicate records (#3545)

This commit is contained in:
xachary 2024-01-15 14:06:19 +08:00 committed by GitHub
parent e23e3383dd
commit 974c1fad7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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 {