From 94e94956bbe5fc4bd7c25b41266993e35f4c7142 Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Thu, 29 Aug 2024 14:45:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20Vue=20Router=20Ro?= =?UTF-8?q?uteMeta=20=E5=B1=9E=E6=80=A7=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/web.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/web.d.ts b/types/web.d.ts index e09bad3..ca1149e 100644 --- a/types/web.d.ts +++ b/types/web.d.ts @@ -26,4 +26,12 @@ declare global { } +declare module 'vue-router' { + interface RouteMeta { + iconClass?: string; + showInAside?: boolean; + title?: string; + } +} + export { };