From 3b131a5c7cb98506f44448a5fb4839c342ba985e Mon Sep 17 00:00:00 2001 From: cool Date: Tue, 30 Apr 2024 13:08:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/base/entity/sys/menu.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/modules/base/entity/sys/menu.ts b/src/modules/base/entity/sys/menu.ts index 5636071..d816713 100644 --- a/src/modules/base/entity/sys/menu.ts +++ b/src/modules/base/entity/sys/menu.ts @@ -36,9 +36,12 @@ export class BaseSysMenuEntity extends BaseEntity { @Column({ comment: '路由缓存', default: true }) keepAlive: boolean; + @Column({ comment: '是否显示', default: true }) + isShow: boolean; + // 父菜单名称 parentName: string; - @Column({ comment: '是否显示', default: true }) - isShow: boolean; + // 子菜单 + childMenus: any; }