فهرست منبع

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

xachary 1 سال پیش
والد
کامیت
974c1fad7f
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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 {