fix: router issue due to click to open
This commit is contained in:
parent
3d11e442e6
commit
731a686b57
@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||
-->
|
||||
|
||||
<template>
|
||||
<a :href="to" :class="active ? activeClass : null" @click.prevent="nav" @contextmenu.prevent.stop="onContextmenu">
|
||||
<a :href="to" :class="active ? activeClass : null" @click.prevent="nav" @contextmenu.prevent.stop="onContextmenu" v-on:click.stop>
|
||||
<slot></slot>
|
||||
</a>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user