mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 22:35:53 +08:00
### What problem does this PR solve? feat: Add SearchPage #2247 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
426fdafb66
commit
9b90a44323
@ -29,6 +29,7 @@ const RagHeader = () => {
|
|||||||
{ path: '/chat', name: t('chat'), icon: MessageOutlined },
|
{ path: '/chat', name: t('chat'), icon: MessageOutlined },
|
||||||
{ path: '/flow', name: t('flow'), icon: GraphIcon },
|
{ path: '/flow', name: t('flow'), icon: GraphIcon },
|
||||||
{ path: '/file', name: t('fileManager'), icon: FileIcon },
|
{ path: '/file', name: t('fileManager'), icon: FileIcon },
|
||||||
|
{ path: '/search', name: t('search'), icon: FileIcon },
|
||||||
],
|
],
|
||||||
[t],
|
[t],
|
||||||
);
|
);
|
||||||
|
@ -59,6 +59,7 @@ export default {
|
|||||||
logout: '登出',
|
logout: '登出',
|
||||||
fileManager: 'File Management',
|
fileManager: 'File Management',
|
||||||
flow: 'Agent',
|
flow: 'Agent',
|
||||||
|
search: 'Search',
|
||||||
},
|
},
|
||||||
knowledgeList: {
|
knowledgeList: {
|
||||||
welcome: 'Welcome back',
|
welcome: 'Welcome back',
|
||||||
|
@ -59,6 +59,7 @@ export default {
|
|||||||
logout: '登出',
|
logout: '登出',
|
||||||
fileManager: '文件管理',
|
fileManager: '文件管理',
|
||||||
flow: 'Agent',
|
flow: 'Agent',
|
||||||
|
search: '搜尋',
|
||||||
},
|
},
|
||||||
knowledgeList: {
|
knowledgeList: {
|
||||||
welcome: '歡迎回來',
|
welcome: '歡迎回來',
|
||||||
|
@ -59,6 +59,7 @@ export default {
|
|||||||
logout: '登出',
|
logout: '登出',
|
||||||
fileManager: '文件管理',
|
fileManager: '文件管理',
|
||||||
flow: 'Agent',
|
flow: 'Agent',
|
||||||
|
search: '搜索',
|
||||||
},
|
},
|
||||||
knowledgeList: {
|
knowledgeList: {
|
||||||
welcome: '欢迎回来',
|
welcome: '欢迎回来',
|
||||||
|
5
web/src/pages/search/index.tsx
Normal file
5
web/src/pages/search/index.tsx
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
const SearchPage = () => {
|
||||||
|
return <div>SearchPage</div>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default SearchPage;
|
@ -91,6 +91,10 @@ const routes = [
|
|||||||
path: '/flow/:id',
|
path: '/flow/:id',
|
||||||
component: '@/pages/flow',
|
component: '@/pages/flow',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: '/search',
|
||||||
|
component: '@/pages/search',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user