Select add prop transfer-class-name
This commit is contained in:
parent
d893ebdc1d
commit
202c2cf396
1 changed files with 5 additions and 1 deletions
|
@ -231,7 +231,10 @@
|
||||||
},
|
},
|
||||||
elementId: {
|
elementId: {
|
||||||
type: String
|
type: String
|
||||||
}
|
},
|
||||||
|
transferClassName: {
|
||||||
|
type: String
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted(){
|
mounted(){
|
||||||
this.$on('on-select-selected', this.onOptionClick);
|
this.$on('on-select-selected', this.onOptionClick);
|
||||||
|
@ -286,6 +289,7 @@
|
||||||
[prefixCls + '-dropdown-transfer']: this.transfer,
|
[prefixCls + '-dropdown-transfer']: this.transfer,
|
||||||
[prefixCls + '-multiple']: this.multiple && this.transfer,
|
[prefixCls + '-multiple']: this.multiple && this.transfer,
|
||||||
['ivu-auto-complete']: this.autoComplete,
|
['ivu-auto-complete']: this.autoComplete,
|
||||||
|
[this.transferClassName]: this.transferClassName
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
selectionCls () {
|
selectionCls () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue