mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 14:41:29 +00:00
refactor:优化逻辑
This commit is contained in:
parent
0767484f73
commit
faa3cf24ec
@ -113,7 +113,7 @@ export const handleFrontendRoute = (routes: any, menus: any) => {
|
||||
memberCenter.mergeAuthNode(handleAuthNode(menus, menuMemberCenterBaseRoute))
|
||||
|
||||
memberCenter.mergeNavUserMenus(handleMenuRule(menus, '/', ['nav_user_menu']))
|
||||
memberCenter.setShowHeadline(menus.length > 1 ? true : false)
|
||||
memberCenter.setShowHeadline(menus.length > 1)
|
||||
memberCenter.setViewRoutes(handleMenuRule(menus, menuMemberCenterBaseRoute))
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user