Add teleport to Modals.
This commit is contained in:
parent
f823e599b4
commit
42d0fe483e
1 changed files with 16 additions and 14 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<template>
|
||||
<teleport to="body">
|
||||
<transition name="fade" @after-enter="content = true">
|
||||
<div
|
||||
v-if="show"
|
||||
|
|
@ -13,6 +14,7 @@
|
|||
</transition>
|
||||
</div>
|
||||
</transition>
|
||||
</teleport>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue