From f5e3a1fdf8e28cd2eea676d4417890ba2e9bf57b Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 19 十二月 2024 11:35:19 +0800 Subject: [PATCH] 计算预测项,选择表达式的预测项,添加管网限制,必须是同一个管网下,预测长度相同 --- src/layout/components/Menu/src/components/useRenderMenuItem.tsx | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/layout/components/Menu/src/components/useRenderMenuItem.tsx b/src/layout/components/Menu/src/components/useRenderMenuItem.tsx index 301313f..4cdc109 100644 --- a/src/layout/components/Menu/src/components/useRenderMenuItem.tsx +++ b/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) && -- Gitblit v1.9.3