mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
@@ -125,7 +125,7 @@ const ui = computed(() => tv({
|
||||
:type="type"
|
||||
:disabled="disabled || isLoading"
|
||||
:class="ui.base({ class: [props.class, props.ui?.base] })"
|
||||
v-bind="omit(linkProps, ['type', 'disabled'])"
|
||||
v-bind="omit(linkProps, ['type', 'disabled', 'onClick'])"
|
||||
custom
|
||||
>
|
||||
<ULinkBase
|
||||
|
||||
@@ -12,6 +12,7 @@ export function pickLinkProps(link: LinkProps & { [key: string]: any }) {
|
||||
'exact', 'exactActiveClass', 'exactHash', 'exactQuery', 'external',
|
||||
'href', 'inactiveClass', 'noPrefetch', 'noRel', 'prefetch',
|
||||
'prefetchedClass', 'rel', 'replace', 'target', 'to', 'type', 'title',
|
||||
'onClick',
|
||||
...ariaKeys,
|
||||
...dataKeys
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user