mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-25 13:16:54 +08:00
最近学习页面
This commit is contained in:
@@ -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 />} />,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user