mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
fix: fix dataset-page's bugs (#8786)
### What problem does this PR solve? fix dataset-page's bugs,Input component supports icon, added Radio component, and removed antd from chunk-result-bar page [#3221 ](https://github.com/infiniflow/ragflow/issues/3221) ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -4,6 +4,7 @@ import { useNavigate, useParams, useSearchParams } from 'umi';
|
||||
|
||||
export enum QueryStringMap {
|
||||
KnowledgeId = 'knowledgeId',
|
||||
id = 'id',
|
||||
}
|
||||
|
||||
export const useNavigatePage = () => {
|
||||
@ -77,6 +78,7 @@ export const useNavigatePage = () => {
|
||||
[QueryStringMap.KnowledgeId]: searchParams.get(
|
||||
QueryStringMap.KnowledgeId,
|
||||
),
|
||||
[QueryStringMap.id]: searchParams.get(QueryStringMap.id),
|
||||
};
|
||||
if (queryStringKey) {
|
||||
return allQueryString[queryStringKey];
|
||||
|
||||
Reference in New Issue
Block a user