mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-11-15 23:23:37 +08:00
perf: 同步精简版代码
This commit is contained in:
@@ -111,6 +111,10 @@ function hasOneShowingChild(
|
||||
return true;
|
||||
});
|
||||
|
||||
if (showingChildren[0]?.meta?.showParent) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (showingChildren.length === 1) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user