feat: init

This commit is contained in:
2025-09-05 16:56:05 +08:00
parent 242a15c589
commit c9c9c8fa67
7 changed files with 25 additions and 20 deletions

View File

@@ -14,6 +14,7 @@ const Home = lazy(() => import("@/view/home"));
const Page404 = lazy(() => import("@/view/error/page404"));
const TranslateDetail = lazy(() => import("@/view/home/detail"));
const TranslateMood = lazy(() => import("@/view/home/mood"));
const TranslateArchives = lazy(() => import("@/view/home/archives"));
export const routes: AppRoute[] = [
{
path: "/",
@@ -40,5 +41,13 @@ export const routes: AppRoute[] = [
title: "情绪监控",
},
},
{
path: "/translate/archives",
element: <TranslateArchives />,
auth: false,
meta: {
title: "宠物档案",
},
},
{ path: "*", element: <Page404 />, auth: false },
];