ColorPicker add prop transfer-class-name

This commit is contained in:
梁灏 2020-09-02 10:28:14 +08:00
parent 970505fe65
commit 5ed3ab10af

View file

@ -228,6 +228,9 @@ export default {
default () { default () {
return !this.$IVIEW ? true : this.$IVIEW.capture; return !this.$IVIEW ? true : this.$IVIEW.capture;
} }
},
transferClassName: {
type: String
} }
}, },
@ -321,6 +324,7 @@ export default {
{ {
[`${this.prefixCls}-transfer`]: this.transfer, [`${this.prefixCls}-transfer`]: this.transfer,
[`${this.prefixCls}-hide-drop`]: this.hideDropDown, [`${this.prefixCls}-hide-drop`]: this.hideDropDown,
[this.transferClassName]: this.transferClassName
}, },
]; ];
}, },