[bugfix] Picker: misspelling of visibleItemCount (#549)

This commit is contained in:
neverland
2018-01-18 14:31:54 +08:00
committed by GitHub
parent d8dc44a780
commit 838c34578e
7 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -40,7 +40,7 @@ export default create({
type: Array,
default: () => []
},
visibileColumnCount: {
visibleItemCount: {
type: Number,
default: 5
},
@@ -90,12 +90,12 @@ export default create({
},
baseOffset() {
return this.itemHeight * (this.visibileColumnCount - 1) / 2;
return this.itemHeight * (this.visibleItemCount - 1) / 2;
},
columnStyle() {
return {
height: (this.itemHeight * this.visibileColumnCount) + 'px'
height: (this.itemHeight * this.visibleItemCount) + 'px'
};
},