Use # instead of v-slot:
This commit is contained in:
parent
da4ba51a74
commit
388565fb10
95 changed files with 219 additions and 219 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="mk-ui">
|
||||
<x-header>
|
||||
<template v-slot:func><slot name="func"></slot></template>
|
||||
<template #func><slot name="func"></slot></template>
|
||||
<slot name="header"></slot>
|
||||
</x-header>
|
||||
<x-nav :is-open="isDrawerOpening"/>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="mk-user-timeline">
|
||||
<mk-notes ref="timeline" :make-promise="makePromise" @inited="() => $emit('loaded')">
|
||||
<template v-slot:empty>
|
||||
<template #empty>
|
||||
<fa :icon="['far', 'comments']"/>
|
||||
{{ withMedia ? this.$t('no-notes-with-media') : this.$t('no-notes') }}
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue