Explorar o código

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

xachary hai 1 ano
pai
achega
974c1fad7f
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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 {