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

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 {