Commit 55fe310a5e5aacb70019a9e9c8ade8b08dfb1b98
Committed by
GitHub
Merge pull request #5620 from subying/patch-2
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 | + // #5620,修复清空搜索关键词后,重新搜索相同的关键词没有触发远程搜索 | ||
441 | + this.lastRemoteQuery = ''; | ||
440 | } | 442 | } |
441 | }, | 443 | }, |
442 | clearSingleSelect(){ // PUBLIC API | 444 | clearSingleSelect(){ // PUBLIC API |