Skip to content

Commit

Permalink
getAtIndexByPlast
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoushengmufc committed Jan 17, 2017
1 parent 8466b56 commit 10a635e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion merge/iosSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -3177,7 +3177,7 @@
return pdom;
},
getAtIndexByPlast: function(plast) {
return plast + Math.ceil(this.itemShowCount / 2);
return plast + Math.ceil(this.options.itemShowCount / 2);
},
setBase: function() {
if (this.options.cssUnit === 'rem') {
Expand Down
2 changes: 1 addition & 1 deletion src/iosSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,7 @@
return pdom;
},
getAtIndexByPlast: function(plast) {
return plast + Math.ceil(this.itemShowCount / 2);
return plast + Math.ceil(this.options.itemShowCount / 2);
},
setBase: function() {
if (this.options.cssUnit === 'rem') {
Expand Down

0 comments on commit 10a635e

Please sign in to comment.