diff --git a/packages/client/src/components/global/MkUrl.vue b/packages/client/src/components/global/MkUrl.vue index 787119104..5f2a81ee6 100644 --- a/packages/client/src/components/global/MkUrl.vue +++ b/packages/client/src/components/global/MkUrl.vue @@ -3,7 +3,7 @@ :is="self ? 'MkA' : 'a'" ref="el" class="ieqqeuvs _link" - :[attr]="self ? url.substr(local.length) : url" + :[attr]="self ? props.url.substring(local.length) : props.url" :rel="rel" :target="target" @contextmenu.stop="() => {}" @@ -18,7 +18,7 @@ {{ hostname }} {{ - self ? pathname.substr(1) : pathname + self ? pathname.substring(1) : pathname }} {{ query }} {{ hash }}