Commit f031f4656a9ffb1794ebe2186e00eda4b39c9a1a

Authored by Rui Ma
1 parent c70ff0f2

`style` cannot be used as component prop.

src/components/transfer/list.vue
1 1 <template>
2   - <div :class="classes" :style="style">
  2 + <div :class="classes" :style="listStyle">
3 3 <div :class="prefixCls + '-header'">
4 4 <Checkbox :value="checkedAll" :disabled="checkedAllDisabled" @on-change="toggleSelectAll"></Checkbox>
5 5 <span>{{ title }}</span>
... ... @@ -40,7 +40,7 @@
40 40 data: Array,
41 41 renderFormat: Function,
42 42 checkedKeys: Array,
43   - style: Object,
  43 + listStyle: Object,
44 44 title: [String, Number],
45 45 filterable: Boolean,
46 46 filterPlaceholder: String,
... ...
src/components/transfer/transfer.vue
... ... @@ -39,7 +39,7 @@
39 39 renderFormat: this.renderFormat,
40 40 checkedKeys: this.leftCheckedKeys,
41 41 validKeysCount: this.leftValidKeysCount,
42   - style: this.listStyle,
  42 + listStyle: this.listStyle,
43 43 title: this.localeTitles[0],
44 44 filterable: this.filterable,
45 45 filterPlaceholder: this.localeFilterPlaceholder,
... ... @@ -68,7 +68,7 @@
68 68 renderFormat: this.renderFormat,
69 69 checkedKeys: this.rightCheckedKeys,
70 70 validKeysCount: this.rightValidKeysCount,
71   - style: this.listStyle,
  71 + listStyle: this.listStyle,
72 72 title: this.localeTitles[1],
73 73 filterable: this.filterable,
74 74 filterPlaceholder: this.localeFilterPlaceholder,
... ...