mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-05-01 12:38:12 +08:00
fix(theme): fix collapse interaction failed when sidebar group set link (#896)
This commit is contained in:
parent
2bfdec82d7
commit
3265be84a9
@ -108,6 +108,7 @@ function onItemInteraction(e: MouseEvent | Event) {
|
||||
:aria-label="`${collapsed ? 'Expand' : 'Collapse'} ${item.text}`"
|
||||
:aria-expanded="!collapsed"
|
||||
tabindex="-1"
|
||||
@click.capture="item.link && toggle()"
|
||||
>
|
||||
<span class="vpi-chevron-right caret-icon" />
|
||||
</button>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user