From 3636bcf2dcb10da5794dc0e78be62b3ec8b52947 Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Sat, 11 May 2024 14:26:56 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20routeMeta=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0alwaysShow=E5=AD=97=E6=AE=B5=E5=A3=B0=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/typings/router.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/typings/router.d.ts b/src/typings/router.d.ts index 99e187bf..f0ddb399 100644 --- a/src/typings/router.d.ts +++ b/src/typings/router.d.ts @@ -10,6 +10,8 @@ declare module "vue-router" { icon?: string; /** 菜单是否隐藏 */ hidden?: boolean; + /** 只有一个子路由是否始终显示 */ + alwaysShow?: boolean; /** 是否固定页签 */ affix?: boolean; /** 是否缓存页面 */