fix: history search can not remove (#7732)

This commit is contained in:
橙子
2026-03-29 14:16:32 +08:00
committed by GitHub
parent 9a22027b35
commit 34439dce4e

View File

@@ -196,7 +196,7 @@ watch(
if (val) {
handleSearch(val);
} else {
searchResults.value = [...searchHistory.value];
searchResults.value = searchHistory.value;
}
},
);