This commit is contained in:
yyh
2026-01-21 16:26:20 +08:00
parent c5bd31b813
commit e9462b7504
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ const PageSelector = ({
copyValue.add(pageId)
}
onSelect(new Set(copyValue))
onSelect(copyValue)
}, [listMapWithChildrenAndDescendants, onSelect, searchValue, value])
const handlePreview = useCallback((pageId: string) => {

View File

@ -171,7 +171,7 @@ const PageSelector = ({
}
}
onSelect(new Set(copyValue))
onSelect(copyValue)
}, [checkedIds, isMultipleChoice, listMapWithChildrenAndDescendants, onSelect, searchValue])
// Stable callback