From 6913c5a88213083e49fdf0d8101c096b1e6af60a Mon Sep 17 00:00:00 2001 From: Kirk Lin Date: Wed, 3 Jul 2024 16:50:50 +0800 Subject: [PATCH] fix: vue router warn finding ancestor route --- apps/admin/src/router/routes/basic.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin/src/router/routes/basic.ts b/apps/admin/src/router/routes/basic.ts index c7a54b40..0594adad 100644 --- a/apps/admin/src/router/routes/basic.ts +++ b/apps/admin/src/router/routes/basic.ts @@ -8,7 +8,7 @@ import { // 404 on a page export const PAGE_NOT_FOUND_ROUTE: RouteRecordRaw = { - path: "/:path(.*)*", + path: "/PAGE_NOT_FOUND/:path(.*)*", name: PAGE_NOT_FOUND_NAME, component: LAYOUT, meta: {