From 0a21b394431b3b07a7ea39d6a6ac2568349b49c6 Mon Sep 17 00:00:00 2001 From: PKAQ Date: Mon, 4 May 2026 16:34:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=A7=E8=A1=8Csimp?= =?UTF-8?q?le=E5=90=8E404=E9=A1=B5=E9=9D=A2=E4=B8=A2=E5=A4=B1=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=90=AF=E5=8A=A8=E9=97=AE=E9=A2=98=20(#11754)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.simple.ts | 2 +- scripts/simple.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/config/routes.simple.ts b/config/routes.simple.ts index 4ced012e..f9878635 100644 --- a/config/routes.simple.ts +++ b/config/routes.simple.ts @@ -48,7 +48,7 @@ export default [ redirect: '/welcome', }, { - component: '404', + component: './exception/404', layout: false, path: './*', }, diff --git a/scripts/simple.js b/scripts/simple.js index 67cc0b86..17853591 100644 --- a/scripts/simple.js +++ b/scripts/simple.js @@ -20,7 +20,6 @@ const pageDirsToDelete = [ 'src/pages/list/search', 'src/pages/profile', 'src/pages/result', - 'src/pages/exception', 'src/pages/account', 'src/pages/user/register', 'src/pages/user/register-result',