最近学习页面

This commit is contained in:
禺狨
2023-06-26 14:50:10 +08:00
parent 614f9c70ac
commit f862bd5b85
7 changed files with 237 additions and 5 deletions

View File

@@ -8,6 +8,7 @@ import IndexPage from "../pages/index/index";
import LoginPage from "../pages/login";
import MemberPage from "../pages/member/index";
import ChangePasswordPage from "../pages/change-password/index";
import StudyPage from "../pages/study/index";
import PrivateRoute from "../components/private-route";
let RootPage: any = null;
@@ -52,6 +53,10 @@ const routes: RouteObject[] = [
path: "/change-password",
element: <PrivateRoute Component={<ChangePasswordPage />} />,
},
{
path: "/study",
element: <PrivateRoute Component={<StudyPage />} />,
},
],
},
];