From 5bfb8199b463d9ca6430577b5c493c0b78967aa9 Mon Sep 17 00:00:00 2001 From: Soybean <2570172956@qq.com> Date: Wed, 5 Jan 2022 13:49:42 +0800 Subject: [PATCH] =?UTF-8?q?fix(projects):=20=E4=BF=AE=E5=A4=8Dredirect-not?= =?UTF-8?q?-found=E5=AD=90=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/router/helpers.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/router/helpers.ts b/src/utils/router/helpers.ts index 926402dd4..f4083ec1a 100644 --- a/src/utils/router/helpers.ts +++ b/src/utils/router/helpers.ts @@ -50,6 +50,7 @@ export function transformAuthRouteToVueRoute(item: AuthRoute.Route) { itemRoute.children = [ { path: '', + name: item.name, component: getViewComponent('redirect-not-found') } ];