chore: sync

This commit is contained in:
lencx
2022-12-21 14:00:42 +08:00
parent 878bb6c265
commit d513a50e27
11 changed files with 186 additions and 23 deletions

10
src/routes.tsx vendored
View File

@@ -3,6 +3,7 @@ import {
DesktopOutlined,
BulbOutlined,
SyncOutlined,
FileSyncOutlined,
UserOutlined,
} from '@ant-design/icons';
import type { MenuProps } from 'antd';
@@ -10,6 +11,7 @@ import type { MenuProps } from 'antd';
import General from '@view/General';
import LanguageModel from '@/view/LanguageModel';
import SyncPrompts from '@/view/SyncPrompts';
import SyncMore from '@/view/SyncMore';
export type ChatRouteMetaObject = {
label: string;
@@ -55,6 +57,14 @@ export const routes: Array<ChatRouteObject> = [
icon: <SyncOutlined />,
},
},
{
path: 'sync-more',
element: <SyncMore />,
meta: {
label: 'Sync More',
icon: <FileSyncOutlined />,
},
},
]
},
];