Dropdown add prop transfer-class-name
This commit is contained in:
parent
dec39a7287
commit
da0f67703b
1 changed files with 6 additions and 2 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Reference in a new issue