fixed #1387 and update v-transfer-dom

Modal add transfer prop
This commit is contained in:
梁灏 2017-07-19 13:58:20 +08:00
parent 3e4bab9655
commit 548eac43fe
10 changed files with 205 additions and 101 deletions

View file

@ -1,5 +1,5 @@
<template>
<div v-transfer-dom>
<div v-transfer-dom :data-transfer="transfer">
<transition :name="transitionNames[1]">
<div :class="maskClasses" v-show="visible" @click="mask"></div>
</transition>
@ -91,6 +91,10 @@
default () {
return ['ease', 'fade'];
}
},
transfer: {
type: Boolean,
default: true
}
},
data () {