fix .prevent

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-05-23 11:47:17 +07:00
parent 409292b699
commit 1b42277dcb
70 changed files with 72 additions and 72 deletions

View file

@ -139,7 +139,7 @@ function resetFilter() {
outlined
placeholder="ค้นหา"
style="max-width: 200px"
@keydown.enter="props.onSearch?.()"
@keydown.enter.prevent="props.onSearch?.()"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -110,7 +110,7 @@ const resetFilter = () => {
placeholder="ค้นหา"
style="max-width: 200px"
class="q-ml-sm"
@keydown.enter="props.onSearch?.(name)"
@keydown.enter.prevent="props.onSearch?.(name)"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -115,7 +115,7 @@ function resetFilter() {
dense
v-model="filter"
ref="filterRef"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
outlined
placeholder="ค้นหา"
style="max-width: 200px"