🎨
This commit is contained in:
parent
f9afebc12e
commit
0af3e15e82
@ -1,8 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
<component :is="self ? 'router-link' : 'a'" class="mk-url" :[attr]="self ? url.substr(local.length) : url" :rel="rel" :target="target">
|
<component :is="self ? 'router-link' : 'a'" class="mk-url" :[attr]="self ? url.substr(local.length) : url" :rel="rel" :target="target">
|
||||||
<span class="schema">{{ schema }}//</span>
|
<template v-if="!self">
|
||||||
<span class="hostname">{{ hostname }}</span>
|
<span class="schema">{{ schema }}//</span>
|
||||||
<span class="port" v-if="port != ''">:{{ port }}</span>
|
<span class="hostname">{{ hostname }}</span>
|
||||||
|
<span class="port" v-if="port != ''">:{{ port }}</span>
|
||||||
|
</template>
|
||||||
<span class="pathname" v-if="pathname != ''">{{ pathname }}</span>
|
<span class="pathname" v-if="pathname != ''">{{ pathname }}</span>
|
||||||
<span class="query">{{ query }}</span>
|
<span class="query">{{ query }}</span>
|
||||||
<span class="hash">{{ hash }}</span>
|
<span class="hash">{{ hash }}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user