From ef29982de7542204d81204f2536d2f4ad294d47a Mon Sep 17 00:00:00 2001 From: SunWuyuan Date: Tue, 7 Oct 2025 15:07:57 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0404=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E6=8F=90=E4=BE=9B=E5=8F=8B=E5=A5=BD=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=8F=90=E7=A4=BA=E5=92=8C=E5=AF=BC=E8=88=AA=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/404.html | 66 ++++++++++++++++++++++++++++++++++ src/pages/[...path].vue | 78 +++++++++++++++++++++++++++++++++++++++++ src/pages/index.vue | 2 +- 3 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 public/404.html create mode 100644 src/pages/[...path].vue diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..8a32c09 --- /dev/null +++ b/public/404.html @@ -0,0 +1,66 @@ + + + + + + 404 - 页面未找到 + + + + +
+
+ +
+
页面未找到
+
即将为您跳转到首页。如果未跳转,请使用下面的按钮。
+
+
+
+ + +
+

错误代码:404

+
+ + + diff --git a/src/pages/[...path].vue b/src/pages/[...path].vue new file mode 100644 index 0000000..e7a0b64 --- /dev/null +++ b/src/pages/[...path].vue @@ -0,0 +1,78 @@ + + + + + diff --git a/src/pages/index.vue b/src/pages/index.vue index aea5c23..58bf0e0 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -431,7 +431,7 @@ onMounted(async () => { -