Refa: Pdf 2 Slices page to new style (#8386)

### What problem does this PR solve?

Refactor Pdf 2 Slices page to new style

### Type of change

- [X] Refactoring
This commit is contained in:
BlueYu-0221
2025-06-20 16:18:37 +08:00
committed by GitHub
parent 8695d60055
commit bb3d3f921a
22 changed files with 1629 additions and 5 deletions

View File

@ -64,7 +64,8 @@ export const useNavigatePage = () => {
const navigateToChunkParsedResult = useCallback(
(id: string, knowledgeId?: string) => () => {
navigate(
`${Routes.ParsedResult}/${id}?${QueryStringMap.KnowledgeId}=${knowledgeId}`,
// `${Routes.ParsedResult}/${id}?${QueryStringMap.KnowledgeId}=${knowledgeId}`,
`${Routes.ParsedResult}/chunks?id=${knowledgeId}&doc_id=${id}`,
);
},
[navigate],