mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: Folder and Resource Selection Interaction Abnormality (#4260)
This commit is contained in:
parent
d147b794ce
commit
9a46cac406
|
|
@ -322,9 +322,10 @@ const select = (val: any[], active: any) => {
|
|||
TreeToFlatten([active])
|
||||
.filter((item: any) => item.id != active.id)
|
||||
.forEach((item: any) => {
|
||||
multipleTableRef.value?.toggleRowSelection(item, true)
|
||||
if (multipleSelection.value.some((select) => item.id == select.id)) {
|
||||
multipleTableRef.value?.toggleRowSelection(item, true)
|
||||
}
|
||||
})
|
||||
|
||||
multipleSelection.value = multipleTableRef.value.getSelectionRows()
|
||||
} else {
|
||||
multipleSelection.value = val
|
||||
|
|
|
|||
Loading…
Reference in New Issue