Use v-slot instead of slot
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<mk-window ref="window" width="450px" height="500px" @closed="destroyDom">
|
||||
<span slot="header"><fa icon="list"/> {{ list.title }}</span>
|
||||
<template v-slot:header><fa icon="list"/> {{ list.title }}</template>
|
||||
|
||||
<x-editor :list="list"/>
|
||||
</mk-window>
|
||||
|
Reference in New Issue
Block a user