Explorar el Código

style: change focus method

Carson hace 1 año
padre
commit
9008625048
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>