Преглед на файлове

style: change focus method

Carson преди 1 година
родител
ревизия
9008625048
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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>