This commit is contained in:
zlwu committed 2026-05-26 19:04:27 +08:00
1 parent 4a00f21bfb
commit edf88dc016
1503 files changed
+329728 -41987

No files matched your search

+1 -3
View File
@@ -137,9 +137,7 @@ export const getFirstSecondLevelMenuPath = (menuList: AppRouteRecord[]): string
continue
}
const topPath = topItem.path!.startsWith('/')
? topItem.path!
: normalizePath(topItem.path!)
const topPath = topItem.path!.startsWith('/') ? topItem.path! : normalizePath(topItem.path!)
const childPath = getFirstMenuPath(children, topPath)
if (childPath) {