Skip to content

Commit

Permalink
picker: fix typo item_class => itemClass #2457
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Jan 30, 2018
1 parent bebc422 commit 7e993d0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/picker/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default {
_this.scroller[i] = new Scroller(_this.getId(i), {
data: data[i],
defaultValue: value[i] || data[i][0].value,
itemClass: _this.item_class,
itemClass: _this.itemClass,
onSelect (value) {
_this.$set(_this.currentValue, i, value)
if (!this.columns || (this.columns && _this.getValue().length === _this.store.count)) {
Expand Down
5 changes: 5 additions & 0 deletions src/components/picker/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ methods:
en: get labels of current value
zh-CN: 根据 value 获取字面值
changes:
next:
en:
- '[fix] fix typo item_class => itemClass #2457'
zh-CN:
- '[fix] 修正 itemClass 拼写错误 #2457'
v2.7.8:
en:
- '[fix] Fix chain mode get value is wrong when the children is empty data.'
Expand Down

0 comments on commit 7e993d0

Please sign in to comment.