fixed #583
This commit is contained in:
parent
891f61d875
commit
713bd3d75d
4 changed files with 80 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<span>
|
||||
<div v-transfer-dom>
|
||||
<transition :name="transitionNames[1]">
|
||||
<div :class="maskClasses" v-show="visible" @click="mask"></div>
|
||||
</transition>
|
||||
|
@ -24,11 +24,12 @@
|
|||
</div>
|
||||
</transition>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import Icon from '../icon';
|
||||
import iButton from '../button/button.vue';
|
||||
import TransferDom from '../../directives/transfer-dom';
|
||||
import { getScrollBarSize } from '../../utils/assist';
|
||||
import Locale from '../../mixins/locale';
|
||||
|
||||
|
@ -38,6 +39,7 @@
|
|||
name: 'Modal',
|
||||
mixins: [ Locale ],
|
||||
components: { Icon, iButton },
|
||||
directives: { TransferDom },
|
||||
props: {
|
||||
value: {
|
||||
type: Boolean,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue