fix bug
This commit is contained in:
@@ -14,7 +14,7 @@ const keywords = ref("");
|
||||
const elSearch = ref(null);
|
||||
|
||||
const search = () => {
|
||||
if (keywords.value.length > 0){
|
||||
if (keywords.value.trim().length > 0){
|
||||
pubsub.publish("zp.toggleSearch");
|
||||
// elSearch.value.blur()
|
||||
store.commit('addSearchHistory', keywords.value)
|
||||
|
||||
Reference in New Issue
Block a user