diff --git a/src/App.vue b/src/App.vue index 5ff88a9..e0521ad 100644 --- a/src/App.vue +++ b/src/App.vue @@ -86,7 +86,7 @@ useAlertProvider(); class="footer footer-center p-4 bg-base-300 text-base-content" >
-

Copyright © 2023 - All right reserved by OurEDA

+

Copyright © 2025 - All right reserved by OurEDA

diff --git a/src/router/index.ts b/src/router/index.ts index e369f74..d294964 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -14,8 +14,9 @@ const router = createRouter({ { path: "/login", name: "login", component: AuthView }, { path: "/project", name: "project", component: ProjectView }, { path: "/test", name: "test", component: TestView }, - { path: "/user", name: "user", component: UserView }, - { path: "/exam", name: "exam", component: ExamView }, + { path: "/user/:page?", name: "user", component: UserView }, + { path: "/exam/:examId?", name: "exam", component: ExamView }, + { path: "/exam", redirect: "/exam/" }, { path: "/markdown", name: "markdown", component: MarkdownEditor }, ], }); diff --git a/src/views/Exam/Index.vue b/src/views/Exam/Index.vue index 2b1d478..1e2fc70 100644 --- a/src/views/Exam/Index.vue +++ b/src/views/Exam/Index.vue @@ -172,6 +172,7 @@ @@ -179,18 +180,22 @@