From 6f02b24067eb8c04a61b45f5d81a57eb332b0346 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=97=E6=B5=94?= <2919054393@qq.com> Date: Wed, 23 Jul 2025 15:41:24 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=88=E4=B8=BB=E9=A1=B5=EF=BC=8C?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=EF=BC=89=EF=BC=9A=E6=B7=BB=E5=8A=A0=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E9=A1=B5=E9=9D=A2=E5=92=8C404=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 7 +- src/views/HomeView.vue | 169 +++++++++++++++++++++++++++++++++++++++-- 2 files changed, 169 insertions(+), 7 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index b6e90bc..deff620 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3,7 +3,7 @@ import VueRouter from 'vue-router' import HomeView from '../views/HomeView.vue' import Login from '@/views/auth/Login.vue' import Register from '@/views/auth/Register.vue' - +import Notfound from '@/views/Notfound.vue' Vue.use(VueRouter) const routes = [ @@ -80,6 +80,11 @@ const routes = [ } }, ] + }, + { + path: '*', + name: 'NotFound', + component: Notfound } ] diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 61007f0..dde00fa 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,13 +1,170 @@ + + -- 2.39.2