Commit 202c2cf3963ba05e000ccb79093db3cbb117e839
1 parent
d893ebdc
Select add prop transfer-class-name
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/components/select/select.vue
| @@ -231,7 +231,10 @@ | @@ -231,7 +231,10 @@ | ||
| 231 | }, | 231 | }, |
| 232 | elementId: { | 232 | elementId: { |
| 233 | type: String | 233 | type: String |
| 234 | - } | 234 | + }, |
| 235 | + transferClassName: { | ||
| 236 | + type: String | ||
| 237 | + }, | ||
| 235 | }, | 238 | }, |
| 236 | mounted(){ | 239 | mounted(){ |
| 237 | this.$on('on-select-selected', this.onOptionClick); | 240 | this.$on('on-select-selected', this.onOptionClick); |
| @@ -286,6 +289,7 @@ | @@ -286,6 +289,7 @@ | ||
| 286 | [prefixCls + '-dropdown-transfer']: this.transfer, | 289 | [prefixCls + '-dropdown-transfer']: this.transfer, |
| 287 | [prefixCls + '-multiple']: this.multiple && this.transfer, | 290 | [prefixCls + '-multiple']: this.multiple && this.transfer, |
| 288 | ['ivu-auto-complete']: this.autoComplete, | 291 | ['ivu-auto-complete']: this.autoComplete, |
| 292 | + [this.transferClassName]: this.transferClassName | ||
| 289 | }; | 293 | }; |
| 290 | }, | 294 | }, |
| 291 | selectionCls () { | 295 | selectionCls () { |