houzhongjian
2024-11-27 4c081adacb5088011148773cf72e9ae01fa3e1d2
src/layout/components/Menu/src/components/useRenderMenuItem.tsx
@@ -16,7 +16,6 @@
          const meta = v.meta ?? {}
          const { oneShowingChild, onlyOneChild } = hasOneShowingChild(v.children, v)
          const fullPath = isUrl(v.path) ? v.path : pathResolve(parentPath, v.path) // getAllParentPath<AppRouteRecordRaw>(allRouters, v.path).join('/')
          if (
            oneShowingChild &&
            (!onlyOneChild?.children || onlyOneChild?.noShowingChildren) &&