mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-12-24 02:49:51 +08:00
视频播放页面重构
This commit is contained in:
@@ -5,7 +5,8 @@ import { SystemConfigStoreInterface } from "../store/system/systemConfigSlice";
|
||||
|
||||
import { getToken } from "../utils";
|
||||
import { InitPage } from "../pages/init";
|
||||
import CoursePage from "../pages/course";
|
||||
import CoursePage from "../pages/course/index";
|
||||
import CoursePlayPage from "../pages/course/video";
|
||||
import IndexPage from "../pages/index";
|
||||
import LatestLearnPage from "../pages/latest-learn";
|
||||
import LoginPage from "../pages/login";
|
||||
@@ -57,6 +58,10 @@ const routes: RouteObject[] = [
|
||||
path: "/course/:courseId",
|
||||
element: <CoursePage />,
|
||||
},
|
||||
{
|
||||
path: "/course/:courseId/hour/:hourId",
|
||||
element: <CoursePlayPage />,
|
||||
},
|
||||
{
|
||||
path: "/latest-learn",
|
||||
element: <LatestLearnPage />,
|
||||
|
||||
Reference in New Issue
Block a user