From 43cfe734a17d83085917028db1d08d7a187ab75d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=89=8D=E8=83=9C?= Date: Wed, 23 Apr 2025 10:08:56 +0800 Subject: [PATCH] fix: route name "Redirect" not unique --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/index.ts b/src/router/index.ts index 89efa7c0d..69aaf50f8 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -23,7 +23,7 @@ export const constantRouterMap: AppRouteRecordRaw[] = [ children: [ { path: '/redirect/:path(.*)', - name: 'Redirect', + name: 'Redirect-child', component: () => import('@/views/Redirect/Redirect.vue'), meta: {} }