潘志宝
7 天以前 1f375577b9e5d6e89aa4d70c526db88eeb95c9a0
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) &&