Format code.
This commit is contained in:
parent
a88e0108c6
commit
85fba15548
1 changed files with 3 additions and 11 deletions
|
|
@ -1,9 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<loadingModal v-if="useLoadingModal" notFullScreen ref="loadingModal" />
|
<loadingModal v-if="useLoadingModal" notFullScreen ref="loadingModal" />
|
||||||
<a v-if="linkType === 'navigation'"
|
<a v-if="linkType === 'navigation'" @click="handleClick" class="navigation-link" :href="href"
|
||||||
@click="handleClick"
|
|
||||||
class="navigation-link"
|
|
||||||
:href="href"
|
|
||||||
>{{ text }}<slot name="after-text"></slot
|
>{{ text }}<slot name="after-text"></slot
|
||||||
></a>
|
></a>
|
||||||
<a
|
<a
|
||||||
|
|
@ -14,15 +11,10 @@
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>{{ text }}<slot name="after-text"></slot
|
>{{ text }}<slot name="after-text"></slot
|
||||||
></a>
|
></a>
|
||||||
<a v-else-if="linkType === 'textSmall'"
|
<a v-else-if="linkType === 'textSmall'" @click="handleClick" class="small" :href="href"
|
||||||
@click="handleClick"
|
|
||||||
class="small"
|
|
||||||
:href="href"
|
|
||||||
>{{ text }}<slot name="after-text"></slot
|
>{{ text }}<slot name="after-text"></slot
|
||||||
></a>
|
></a>
|
||||||
<a v-else-if="linkType === 'text'"
|
<a v-else-if="linkType === 'text'" @click="handleClick" :href="href"
|
||||||
@click="handleClick"
|
|
||||||
:href="href"
|
|
||||||
>{{ text }}<slot name="after-text"></slot
|
>{{ text }}<slot name="after-text"></slot
|
||||||
></a>
|
></a>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue