chore: sync

This commit is contained in:
lencx
2022-12-22 08:59:58 +08:00
parent d513a50e27
commit 2d826c90a0
22 changed files with 116 additions and 47 deletions

10
src/routes.tsx vendored
View File

@@ -9,9 +9,9 @@ import {
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';
import UserCustom from '@/view/model/UserCustom';
import SyncPrompts from '@/view/model/SyncPrompts';
import SyncMore from '@/view/model/SyncMore';
export type ChatRouteMetaObject = {
label: string;
@@ -35,7 +35,7 @@ export const routes: Array<ChatRouteObject> = [
},
},
{
path: '/language-model',
path: '/model',
meta: {
label: 'Language Model',
icon: <BulbOutlined />,
@@ -43,7 +43,7 @@ export const routes: Array<ChatRouteObject> = [
children: [
{
path: 'user-custom',
element: <LanguageModel />,
element: <UserCustom />,
meta: {
label: 'User Custom',
icon: <UserOutlined />,