Dropdown add prop transfer-class-name

This commit is contained in:
梁灏 2019-02-19 11:45:11 +08:00
parent dec39a7287
commit da0f67703b

View file

@ -53,7 +53,10 @@
default () {
return !this.$IVIEW || this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
}
}
},
transferClassName: {
type: String
},
},
computed: {
transition () {
@ -61,7 +64,8 @@
},
dropdownCls () {
return {
[prefixCls + '-transfer']: this.transfer
[prefixCls + '-transfer']: this.transfer,
[this.transferClassName]: this.transferClassName
};
},
relClasses () {