Ver Fonte

style: change focus method

Carson há 1 ano atrás
pai
commit
9008625048
1 ficheiros alterados com 1 adições e 1 exclusões
  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>