diff --git a/examples/routers/select.vue b/examples/routers/select.vue index 6cea6de..b2986b8 100644 --- a/examples/routers/select.vue +++ b/examples/routers/select.vue @@ -1,105 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - \ No newline at end of file + diff --git a/src/components/select/select.vue b/src/components/select/select.vue index 368e211..bcda26e 100644 --- a/src/components/select/select.vue +++ b/src/components/select/select.vue @@ -694,6 +694,12 @@ } else { this.updateSingleSelected(); } + // #957 + if (!this.visible && this.filterable) { + this.$nextTick(() => { + this.broadcastQuery(''); + }); + } }, visible (val) { if (val) { -- libgit2 0.21.4