Skip to content

Commit

Permalink
fix: 解决picker组件属性变更时报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
dcloud-robot committed Jan 15, 2019
1 parent 3cd4b6b commit b1d7ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/view/components/picker/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default {
})
Object.keys(this.$props).forEach(key => {
if (key !== 'value' && key !== 'name') {
this.$watch(key, this._show())
this.$watch(key, this._show)
}
})
},
Expand Down

0 comments on commit b1d7ccb

Please sign in to comment.