From e9462b7504fb5b63e030943f2d78d28ef9b6ad2c Mon Sep 17 00:00:00 2001 From: yyh Date: Wed, 21 Jan 2026 16:26:20 +0800 Subject: [PATCH] update --- .../base/notion-page-selector/page-selector/index.tsx | 2 +- .../data-source/online-documents/page-selector/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/base/notion-page-selector/page-selector/index.tsx b/web/app/components/base/notion-page-selector/page-selector/index.tsx index 8f3d80b2aa..c3fa9a3484 100644 --- a/web/app/components/base/notion-page-selector/page-selector/index.tsx +++ b/web/app/components/base/notion-page-selector/page-selector/index.tsx @@ -310,7 +310,7 @@ const PageSelector = ({ copyValue.add(pageId) } - onSelect(new Set(copyValue)) + onSelect(copyValue) }, [listMapWithChildrenAndDescendants, onSelect, searchValue, value]) const handlePreview = useCallback((pageId: string) => { diff --git a/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx b/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx index ad6b2a6da8..894135b00b 100644 --- a/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx +++ b/web/app/components/datasets/documents/create-from-pipeline/data-source/online-documents/page-selector/index.tsx @@ -171,7 +171,7 @@ const PageSelector = ({ } } - onSelect(new Set(copyValue)) + onSelect(copyValue) }, [checkedIds, isMultipleChoice, listMapWithChildrenAndDescendants, onSelect, searchValue]) // Stable callback