Selaa lähdekoodia

style: change focus method

Carson 1 vuosi sitten
vanhempi
commit
9008625048
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      components/Search/index.vue

+ 1 - 1
components/Search/index.vue

@@ -145,7 +145,7 @@ watchDebounced(
 );
 const searchRecommend = (e) => {
   filterText.value = e.target.innerText
-  input$.value.focus()
+  focused.value = true
 }
 </script>
 <template>