Commit 1ca8841c4c36a654ba2f36fec8b282a7cc374f46
Committed by
GitHub
1 parent
7435abb0
fix:修复清空搜索关键词后,重新搜索相同的关键词没有触发远程搜索
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/components/select/select.vue
@@ -437,6 +437,8 @@ | @@ -437,6 +437,8 @@ | ||
437 | if (query === null) { | 437 | if (query === null) { |
438 | this.onQueryChange(''); | 438 | this.onQueryChange(''); |
439 | this.values = []; | 439 | this.values = []; |
440 | + //修复清空搜索关键词后,重新搜索相同的关键词没有触发远程搜索 | ||
441 | + this.lastRemoteQuery=''; | ||
440 | } | 442 | } |
441 | }, | 443 | }, |
442 | clearSingleSelect(){ // PUBLIC API | 444 | clearSingleSelect(){ // PUBLIC API |