首页课程模块初步

This commit is contained in:
禺狨
2023-03-24 12:02:12 +08:00
parent 42f545e68b
commit 0dc5c49ef8
11 changed files with 374 additions and 8 deletions

View File

@@ -32,6 +32,7 @@ const Init = lazy(async () => {
// 懒加载
const LoginPage = lazy(() => import("../pages/login"));
const IndexPage = lazy(() => import("../pages/index"));
const ChangePasswordPage = lazy(() => import("../pages/change-password"));
const routes: RouteObject[] = [
{
@@ -46,6 +47,10 @@ const routes: RouteObject[] = [
path: "/login",
element: <LoginPage />,
},
{
path: "/change-password",
element: <ChangePasswordPage />,
},
],
},
];