Use v-slot instead of slot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<mk-notes ref="timeline" :make-promise="makePromise" @inited="() => $emit('loaded')">
|
||||
<template slot="header">
|
||||
<template v-slot:header>
|
||||
<slot></slot>
|
||||
</template>
|
||||
</mk-notes>
|
||||
|
Reference in New Issue
Block a user