diff --git a/src/layouts/modules/global-search/components/search-modal.vue b/src/layouts/modules/global-search/components/search-modal.vue index d36272cbd..39f18a849 100644 --- a/src/layouts/modules/global-search/components/search-modal.vue +++ b/src/layouts/modules/global-search/components/search-modal.vue @@ -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);