chore: update

This commit is contained in:
xiaoxian521
2025-04-18 14:25:53 +08:00
parent 1730ecf4ce
commit 6be410a03c
3 changed files with 400 additions and 380 deletions

View File

@@ -69,7 +69,7 @@ const textClass = computed(() => {
isCollapse.value &&
!toRaw(item.meta.icon) &&
((layout.value === "vertical" && item.parentId === null) ||
(layout.value === "mix" && item.parentId !== 0))
(layout.value === "mix" && item.pathList.length === 2))
) {
return `${baseClass} min-w-[54px]! text-center! px-3!`;
}