Commit 1376a01a72229593c33806128bedd21aaafc05bd
1 parent
c3304bce
Emit on-open-change events
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/components/select/select.vue
@@ -684,6 +684,9 @@ | @@ -684,6 +684,9 @@ | ||
684 | if (this.slotOptions && this.slotOptions.length === 0){ | 684 | if (this.slotOptions && this.slotOptions.length === 0){ |
685 | this.query = ''; | 685 | this.query = ''; |
686 | } | 686 | } |
687 | + }, | ||
688 | + visible(state){ | ||
689 | + this.$emit('on-open-change', state); | ||
687 | } | 690 | } |
688 | } | 691 | } |
689 | }; | 692 | }; |