fix: history search can not remove (#7732)
parent
9a22027b35
commit
34439dce4e
|
|
@ -196,7 +196,7 @@ watch(
|
||||||
if (val) {
|
if (val) {
|
||||||
handleSearch(val);
|
handleSearch(val);
|
||||||
} else {
|
} else {
|
||||||
searchResults.value = [...searchHistory.value];
|
searchResults.value = searchHistory.value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue