chore: vue lint

This commit is contained in:
Marie 2024-09-16 02:11:41 +02:00
parent 7d449b9009
commit c5c3c26271
No known key found for this signature in database
GPG Key ID: 7ADF6C9CD9A28555

View File

@ -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()"