From 88d93f5c22b54a1f6e785852bdaa8b75e6bc5782 Mon Sep 17 00:00:00 2001 From: pany <939630029@qq.com> Date: Fri, 26 Aug 2022 16:29:39 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E4=BC=98=E5=8C=96=20RouteMeta=20?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E6=8F=8F=E8=BF=B0=E6=96=87=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types/vue-router.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/vue-router.d.ts b/types/vue-router.d.ts index f669561..582bd44 100644 --- a/types/vue-router.d.ts +++ b/types/vue-router.d.ts @@ -34,7 +34,9 @@ declare module "vue-router" { */ alwaysShow?: boolean /** - * 当设置了该属性,进入路由时,则会高亮 activeMenu 属性对应的侧边栏 + * 示例: activeMenu: "/xxx/xxx", + * 当设置了该属性进入路由时,则会高亮 activeMenu 属性对应的侧边栏。 + * 该属性适合使用在有 hidden: true 属性的路由上 */ activeMenu?: string }