From 24360753373de53cbfd5cfe2918cf00460a9e21d Mon Sep 17 00:00:00 2001 From: chenting <1016830869@qq.com> Date: Thu, 2 Jan 2025 03:30:26 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8F=9C=E5=8D=95=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20Please=20set=20titile=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chenting <1016830869@qq.com> --- src/utils/routerHelper.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/routerHelper.ts b/src/utils/routerHelper.ts index b65f93a0..9da86818 100644 --- a/src/utils/routerHelper.ts +++ b/src/utils/routerHelper.ts @@ -100,7 +100,6 @@ export const generateRoute = (routes: AppCustomRouteRecordRaw[]): AppRouteRecord //处理顶级非目录路由 if (!route.children && route.parentId == 0 && route.component) { data.component = Layout - data.meta = {} data.name = toCamelCase(route.path, true) + 'Parent' data.redirect = '' meta.alwaysShow = true