Skip to content

Commit

Permalink
fix(search): 允许直接使用搜索按钮启动搜索
Browse files Browse the repository at this point in the history
避免无法使用 `keyup.13` 的情况

closed: #1043
  • Loading branch information
Rhilip committed Apr 15, 2022
1 parent 319065b commit 2fa9854
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/options/components/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<v-text-field
flat
solo-inverted
:prepend-icon="$vuetify.breakpoint.smAndUp ? 'search' : ''"
prepend-icon="search"
@click:prepend="searchTorrent()"
:label="$t('searchBox.searchTip')"
class="mt-2 mb-0"
v-model="searchKey"
Expand Down

0 comments on commit 2fa9854

Please sign in to comment.