mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 18:45:13 +00:00
chore: vue lint
This commit is contained in:
parent
7d449b9009
commit
c5c3c26271
1 changed files with 2 additions and 4 deletions
|
@ -5,8 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<component
|
<component
|
||||||
v-if="self"
|
:is="'MkA'" v-if="self" ref="el" style="word-break: break-all;" class="_link" :to="url.substring(local.length)" :rel="rel ?? 'nofollow noopener'" :target="target"
|
||||||
:is="'MkA'" ref="el" style="word-break: break-all;" class="_link" :to="url.substring(local.length)" :rel="rel ?? 'nofollow noopener'" :target="target"
|
|
||||||
:behavior="props.navigationBehavior"
|
:behavior="props.navigationBehavior"
|
||||||
:title="url"
|
:title="url"
|
||||||
@click.stop
|
@click.stop
|
||||||
|
@ -15,8 +14,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<i v-if="target === '_blank'" class="ti ti-external-link" :class="$style.icon"></i>
|
<i v-if="target === '_blank'" class="ti ti-external-link" :class="$style.icon"></i>
|
||||||
</component>
|
</component>
|
||||||
<component
|
<component
|
||||||
v-else
|
:is="'a'" v-else ref="el" style="word-break: break-all;" class="_link" :rel="rel ?? 'nofollow noopener popup=false'" :target="target"
|
||||||
:is="'a'" ref="el" style="word-break: break-all;" class="_link" :rel="rel ?? 'nofollow noopener popup=false'" :target="target"
|
|
||||||
:behavior="props.navigationBehavior"
|
:behavior="props.navigationBehavior"
|
||||||
:title="url"
|
:title="url"
|
||||||
@click="promptConfirm()"
|
@click="promptConfirm()"
|
||||||
|
|
Loading…
Reference in a new issue