mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 05:08:03 +01:00
fix(Breadcrumb): pass click event to ULink
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
:class="[ui.base, index === links.length - 1 ? ui.active : !!link.to ? ui.inactive : '']"
|
:class="[ui.base, index === links.length - 1 ? ui.active : !!link.to ? ui.inactive : '']"
|
||||||
v-bind="getULinkProps(link)"
|
v-bind="getULinkProps(link)"
|
||||||
:aria-current="index === links.length - 1 ? 'page' : undefined"
|
:aria-current="index === links.length - 1 ? 'page' : undefined"
|
||||||
|
@click="link.click"
|
||||||
>
|
>
|
||||||
<slot name="icon" :link="link" :index="index" :is-active="index === links.length - 1">
|
<slot name="icon" :link="link" :index="index" :is-active="index === links.length - 1">
|
||||||
<UIcon
|
<UIcon
|
||||||
|
|||||||
Reference in New Issue
Block a user