修正搜索功能

This commit is contained in:
Tim
2025-07-21 14:51:09 +08:00
parent 9b6a248725
commit 0cee0141c3
3 changed files with 27 additions and 19 deletions

View File

@@ -148,6 +148,7 @@ export default {
})
const clickOutside = e => {
if (isMobile) return
if (wrapper.value && !wrapper.value.contains(e.target)) {
close()
}
@@ -269,7 +270,7 @@ export default {
right: 0;
background: var(--background-color);
border: 1px solid var(--normal-border-color);
z-index: 10;
z-index: 10000;
max-height: 200px;
min-width: 350px;
overflow-y: auto;