Skip to content

Commit

Permalink
fix: 解决picker组件关闭时内部状态未重置的问题 #192
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Feb 12, 2019
1 parent 21aab6b commit 0873617
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/platforms/h5/components/app/popup/picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@ export default {
}
}
})
},
visible (val) {
if (!val) {
this.$nextTick(() => this._setValue())
}
}
},
created () {
Expand Down

0 comments on commit 0873617

Please sign in to comment.