From 8b5444919a11ec1cd669486f3b9f2c1c9057dae0 Mon Sep 17 00:00:00 2001 From: speakeloudest Date: Mon, 5 Jan 2026 21:25:03 -0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/router/index.ts b/src/router/index.ts index 6c83b98..8acb90f 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -19,15 +19,20 @@ const router = createRouter({ component: () => import('../pages/UserCenter/index.vue'), }, { - path: '/terms-of-service', + path: '/terms', name: 'terms-of-service', component: () => import('../pages/TermsOfService/index.vue'), }, { - path: '/privacy-policy', + path: '/privacy', name: 'privacy-policy', component: () => import('../pages/PrivacyPolicy/index.vue'), }, + { + path: '/:pathMatch(.*)*', + name: 'not-found', + redirect: '/', + }, ], })