Parcourir la source

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

xachary il y a 1 an
Parent
commit
974c1fad7f
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      src/components/Table/src/hooks/useRowSelection.ts

+ 0 - 1
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 {