From 86bc6d855e3e7f2d3c41c4b7f876ba668d794dd5 Mon Sep 17 00:00:00 2001 From: minisola Date: Mon, 11 Jul 2022 10:38:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20route=E5=8C=B9=E9=85=8D404=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20(#10007)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/config/routes.ts b/config/routes.ts index efa35d90..671b453e 100644 --- a/config/routes.ts +++ b/config/routes.ts @@ -18,9 +18,6 @@ export default [ path: '/user/login', component: './User/Login', }, - { - component: './404', - }, ], }, { @@ -41,9 +38,6 @@ export default [ icon: 'smile', component: './Welcome', }, - { - component: './404', - }, ], }, { @@ -57,6 +51,7 @@ export default [ redirect: '/welcome', }, { + path: '*', component: './404', }, ];