Commit 21ff0303cb3dfde487ebf7a0f0496197fca3d1d9
1 parent
2a7765f9
update Breadcrumb
Showing
1 changed file
with
8 additions
and
1 deletions
Show diff stats
src/components/breadcrumb/breadcrumb-item.vue
1 | <template> | 1 | <template> |
2 | <span> | 2 | <span> |
3 | - <a v-if="to" :href="linkUrl" :target="target" :class="linkClasses" @click="handleCheckClick"> | 3 | + <a |
4 | + v-if="to" | ||
5 | + :href="linkUrl" | ||
6 | + :target="target" | ||
7 | + :class="linkClasses" | ||
8 | + @click.exact="handleCheckClick($event, false)" | ||
9 | + @click.ctrl="handleCheckClick($event, true)" | ||
10 | + @click.meta="handleCheckClick($event, true)"> | ||
4 | <slot></slot> | 11 | <slot></slot> |
5 | </a> | 12 | </a> |
6 | <span v-else :class="linkClasses"> | 13 | <span v-else :class="linkClasses"> |