mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 06:46:40 +08:00
### What problem does this PR solve? Fix: Update the pagination prompt text in zh.ts, changing "page" to "item/page" ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -33,11 +33,7 @@ export function RAGFlowPagination({
|
||||
|
||||
const sizeChangerOptions: RAGFlowSelectOptionType[] = useMemo(() => {
|
||||
return [10, 20, 50, 100].map((x) => ({
|
||||
label: (
|
||||
<span>
|
||||
{x} / {t('pagination.page')}
|
||||
</span>
|
||||
),
|
||||
label: <span>{t('pagination.page', { page: x })}</span>,
|
||||
value: x.toString(),
|
||||
}));
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user