Use portal for modals
This commit is contained in:
parent
51ade26066
commit
39e4746f61
9 changed files with 114 additions and 108 deletions
|
|
@ -11,12 +11,7 @@ const ConfirmModal = {
|
|||
components: {
|
||||
DialogModal
|
||||
},
|
||||
data: {
|
||||
},
|
||||
props: {
|
||||
showing: {
|
||||
type: Boolean
|
||||
},
|
||||
title: {
|
||||
type: String
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<dialog-modal
|
||||
v-if="showing"
|
||||
class="confirm-modal"
|
||||
:on-cancel="onCancel"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue