Date add transfer prop

This commit is contained in:
梁灏 2017-07-20 11:53:18 +08:00
parent 595cfa72fe
commit ecaf8d51e0
6 changed files with 71 additions and 38 deletions

View file

@ -26,7 +26,7 @@
</div>
<transition :name="transitionName">
<Drop
:class="{ [prefixCls + '-dropdown-transfer']: transfer }"
:class="dropdownCls"
v-show="dropVisible"
:placement="placement"
ref="dropdown"
@ -157,6 +157,12 @@
}
];
},
dropdownCls () {
return {
[prefixCls + '-dropdown-transfer']: this.transfer,
[prefixCls + '-multiple']: this.multiple && this.transfer
};
},
showPlaceholder () {
let status = false;