We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2026f0d commit 5460885Copy full SHA for 5460885
app/src/layouts/SideBar.vue
@@ -26,7 +26,7 @@ watch(route, () => {
26
const sub = openSub()
27
const p = openKeys.value.indexOf(sub)
28
if (p === -1)
29
- openKeys.value.push(sub)
+ openKeys.value = [sub]
30
})
31
32
const sidebars = computed(() => {
0 commit comments