enhance(frontend): 検索画面においてEnterキー押下で検索できるように (#12752)

* enhance: 検索画面においてEnterキー押下で検索できるように

* enterイベントを使用するように
This commit is contained in:
Korange
2023-12-28 07:58:32 +09:00
committed by GitHub
parent c525394989
commit 6b4f57781a
5 changed files with 5 additions and 4 deletions

View File

@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<div class="_gaps">
<div class="_gaps">
<MkInput v-model="searchQuery" :large="true" :autofocus="true" type="search">
<MkInput v-model="searchQuery" :large="true" :autofocus="true" type="search" @enter="search">
<template #prefix><i class="ti ti-search"></i></template>
</MkInput>
<MkFolder>