【MenuFactory】修改菜单显示逻辑

pull/3/head
guodengke 2020-12-17 22:28:58 +08:00 committed by fengshuonan
parent 2456f20821
commit e9ea4d5e18
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class MenuFactory {
mateItem.setLink(sysMenu.getLinkUrl());
// 是否可见
mateItem.setShow(!YesOrNotEnum.N.getCode().equals(sysMenu.getVisible()));
mateItem.setShow(YesOrNotEnum.Y.getCode().equals(sysMenu.getVisible()));
// 是否是外链
if (LinkOpenTypeEnum.INNER.getCode().equals(sysMenu.getLinkOpenType())) {