mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-29 01:14:20 +08:00
视频播放以及播放记录上传优化
This commit is contained in:
parent
6c6b18b76c
commit
951f69a53c
@ -1,2 +1,7 @@
|
|||||||
|
|
||||||
import styles from "./index.module.scss";
|
import styles from "./index.module.scss";
|
||||||
|
|
||||||
|
const LatestLearnPage = () => {
|
||||||
|
return <>最近学习</>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default LatestLearnPage;
|
||||||
|
@ -33,6 +33,7 @@ const Init = lazy(async () => {
|
|||||||
const LoginPage = lazy(() => import("../pages/login"));
|
const LoginPage = lazy(() => import("../pages/login"));
|
||||||
const IndexPage = lazy(() => import("../pages/index"));
|
const IndexPage = lazy(() => import("../pages/index"));
|
||||||
const CoursePage = lazy(() => import("../pages/course"));
|
const CoursePage = lazy(() => import("../pages/course"));
|
||||||
|
const LatestLearnPage = lazy(() => import("../pages/latest-learn"));
|
||||||
|
|
||||||
const routes: RouteObject[] = [
|
const routes: RouteObject[] = [
|
||||||
{
|
{
|
||||||
@ -51,6 +52,10 @@ const routes: RouteObject[] = [
|
|||||||
path: "/course/:courseId",
|
path: "/course/:courseId",
|
||||||
element: <CoursePage />,
|
element: <CoursePage />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/latest-learn",
|
||||||
|
element: <LatestLearnPage />,
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user