Skip to content

Commit

Permalink
tabbar: Fix slots undefined. Close #1000
Browse files Browse the repository at this point in the history
  • Loading branch information
airyland committed Feb 27, 2017
1 parent dc76af1 commit 2a3ee90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/tabbar/metas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ tabbar-item:
en: triggers when tabbar item is click
zh-CN: 点击菜单项时触发
changes:
v2.1.1-rc.4:
en:
- '[fix] fix this.$slots undefined #1000 @asingingfish'
zh-CN:
- '[fix] 修复 this.$slots 不存在 #1000 @asingingfish'
v2.1.1-rc.1:
en:
- '[fix] fix variable @tabbar-text-active-color #982 @marsal1212'
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabbar/tabbar-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default {
components: {
Badge
},
created () {
beforeMount () {
if (!this.$slots.icon) {
this.simple = true
}
Expand Down

0 comments on commit 2a3ee90

Please sign in to comment.