前端路由 alwaysShow 不起作用问题修复
This commit is contained in:
parent
13e124c02a
commit
8d582b482c
@ -19,7 +19,7 @@ export const useRenderMenuItem = () =>
|
||||
|
||||
if (
|
||||
oneShowingChild &&
|
||||
(!onlyOneChild?.children || onlyOneChild?.noShowingChildren) &&
|
||||
(!(onlyOneChild?.children?.length !== 0) || onlyOneChild?.noShowingChildren) &&
|
||||
!meta?.alwaysShow
|
||||
) {
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user