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>
|
<template>
|
||||||
|
<teleport to="body">
|
||||||
<transition name="fade" @after-enter="content = true">
|
<transition name="fade" @after-enter="content = true">
|
||||||
<div
|
<div
|
||||||
v-if="show"
|
v-if="show"
|
||||||
|
|
@ -13,6 +14,7 @@
|
||||||
</transition>
|
</transition>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
</teleport>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue