Commit f031f4656a9ffb1794ebe2186e00eda4b39c9a1a

Authored by Rui Ma
1 parent c70ff0f2

`style` cannot be used as component prop.

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