From 82938c08fd8310594cd22425a314b3f30c2795be Mon Sep 17 00:00:00 2001 From: K <1175047471@qq.com> Date: Tue, 16 Jul 2024 14:52:30 +0800 Subject: [PATCH] fix: vue-router warning --- src/router/routes/basic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/router/routes/basic.ts b/src/router/routes/basic.ts index 2ecc01c1..7ed1c12f 100644 --- a/src/router/routes/basic.ts +++ b/src/router/routes/basic.ts @@ -4,7 +4,7 @@ import { EXCEPTION_COMPONENT, LAYOUT, PAGE_NOT_FOUND_NAME, REDIRECT_NAME } from // 404 on a page export const PAGE_NOT_FOUND_ROUTE: AppRouteRecordRaw = { path: '/:path(.*)*', - name: PAGE_NOT_FOUND_NAME, + name: `Parent${PAGE_NOT_FOUND_NAME}`, component: LAYOUT, meta: { title: 'ErrorPage',