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 () {
|
default () {
|
||||||
return !this.$IVIEW || this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
|
return !this.$IVIEW || this.$IVIEW.transfer === '' ? false : this.$IVIEW.transfer;
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
transferClassName: {
|
||||||
|
type: String
|
||||||
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
transition () {
|
transition () {
|
||||||
|
@ -61,7 +64,8 @@
|
||||||
},
|
},
|
||||||
dropdownCls () {
|
dropdownCls () {
|
||||||
return {
|
return {
|
||||||
[prefixCls + '-transfer']: this.transfer
|
[prefixCls + '-transfer']: this.transfer,
|
||||||
|
[this.transferClassName]: this.transferClassName
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
relClasses () {
|
relClasses () {
|
||||||
|
|
Loading…
Add table
Reference in a new issue