mirror of
https://github.com/PlayEdu/h5.git
synced 2025-12-25 18:29:31 +08:00
视频播放页面
This commit is contained in:
@@ -11,6 +11,7 @@ import ChangePasswordPage from "../pages/change-password/index";
|
||||
import ChangeDepartmentPage from "../pages/change-department/index";
|
||||
import StudyPage from "../pages/study/index";
|
||||
import CoursePage from "../pages/course/index";
|
||||
import CoursePlayPage from "../pages/course/video";
|
||||
import PrivateRoute from "../components/private-route";
|
||||
|
||||
let RootPage: any = null;
|
||||
@@ -67,6 +68,10 @@ const routes: RouteObject[] = [
|
||||
path: "/course/:courseId",
|
||||
element: <PrivateRoute Component={<CoursePage />} />,
|
||||
},
|
||||
{
|
||||
path: "/course/:courseId/hour/:hourId",
|
||||
element: <PrivateRoute Component={<CoursePlayPage />} />,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user