From 2aef180ddb41a2f702708082fff98b5e3e928e3b Mon Sep 17 00:00:00 2001 From: SikongJueluo Date: Tue, 19 Aug 2025 17:28:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=B0=83=E6=95=B4=E8=B7=AF=E7=94=B1?= =?UTF-8?q?=EF=BC=8C=E5=AE=9E=E7=8E=B0=E9=A1=B5=E9=9D=A2=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/router/index.ts | 5 +++-- src/views/Exam/Index.vue | 41 +++++++++++++++++++++++++++++++---- src/views/User/BoardTable.vue | 27 +++++++++++++---------- src/views/User/Index.vue | 27 +++++++++++++++++++++++ 5 files changed, 84 insertions(+), 18 deletions(-) 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 @@