fix(components): Fix the issue of search box popping up repeatedly due to carriage return

This commit is contained in:
Azir 2024-06-02 00:38:08 +08:00
parent 8efdb10d86
commit 6be2dea979

View File

@ -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);