Skip to content

Commit

Permalink
fix(MdSelect): selected event before mounted
Browse files Browse the repository at this point in the history
fix #1781
  • Loading branch information
VdustR committed May 30, 2018
1 parent 04912d1 commit 959c361
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/MdField/MdSelect/MdSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,10 @@
handler (val) {
this.setFieldContent()
this.MdSelect.modelValue = this.localValue
this.emitSelected(val)
if (this.didMount) {
this.emitSelected(val)
}
}
},
multiple: {
Expand Down

0 comments on commit 959c361

Please sign in to comment.