Commit 202c2cf3963ba05e000ccb79093db3cbb117e839

Authored by 梁灏
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 231 },
232 232 elementId: {
233 233 type: String
234   - }
  234 + },
  235 + transferClassName: {
  236 + type: String
  237 + },
235 238 },
236 239 mounted(){
237 240 this.$on('on-select-selected', this.onOptionClick);
... ... @@ -286,6 +289,7 @@
286 289 [prefixCls + '-dropdown-transfer']: this.transfer,
287 290 [prefixCls + '-multiple']: this.multiple && this.transfer,
288 291 ['ivu-auto-complete']: this.autoComplete,
  292 + [this.transferClassName]: this.transferClassName
289 293 };
290 294 },
291 295 selectionCls () {
... ...