Skip to content

Commit

Permalink
fix(components): Fix the issue of search box popping up repeatedly du…
Browse files Browse the repository at this point in the history
…e to carriage return (#468)
  • Loading branch information
Azir-11 committed Jun 1, 2024
1 parent 8efdb10 commit 5bd96b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ function search() {
}
function handleClose() {
visible.value = false;
// handle with setTimeout to prevent user from seeing some operations
setTimeout(() => {
visible.value = false;
resultOptions.value = [];
keyword.value = '';
}, 200);
Expand Down

0 comments on commit 5bd96b8

Please sign in to comment.