Skip to content

Commit

Permalink
fix value binding non-working issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuilam authored May 18, 2019
1 parent d0317a1 commit 5a99a31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mpvue-picker/mpvuePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ export default {
methods: {
initPicker(valueArray) {
let pickerValueArray = valueArray;
this.pickerValue = this.pickerValueDefault;
setTimeout(() => {
this.pickerValue = this.pickerValueDefault;
});
// 初始化多级联动
if (this.mode === 'selector') {
this.pickerValueSingleArray = valueArray;
Expand Down

0 comments on commit 5a99a31

Please sign in to comment.