fix(BasicTable): getSelectRows return duplicate records (#3545)
This commit is contained in:
parent
e23e3383dd
commit
974c1fad7f
|
|
@ -126,7 +126,6 @@ export function useRowSelection(
|
||||||
const found = allSelectedRows.find(
|
const found = allSelectedRows.find(
|
||||||
(item) => parseRowKeyValue(unref(getRowKey), item) === keyValue,
|
(item) => parseRowKeyValue(unref(getRowKey), item) === keyValue,
|
||||||
);
|
);
|
||||||
found && trueSelectedRows.push(found);
|
|
||||||
if (found) {
|
if (found) {
|
||||||
trueSelectedRows.push(found);
|
trueSelectedRows.push(found);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue