This commit is contained in:
2026-10-19 14:06:37 +08:00
parent 4b5113a690
commit 7e68d978dd
3 changed files with 10 additions and 8 deletions
+2
View File
@@ -43,6 +43,8 @@ const visibleNavigation = computed(() => filterNavigationByPermissions(clientNav
const activeParentKeys = computed(() => new Set(getNavigationParentKeys(visibleNavigation.value, props.activePath)))
const openedKeys = ref<ReadonlySet<string>>(new Set(activeParentKeys.value))
// Expand the order group by default so the three customer order shortcuts are visible.
openedKeys.value = new Set([...openedKeys.value, 'order-center'])
function handleToggle(key: string) {
const next = new Set(openedKeys.value)