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

@ -302,7 +302,7 @@ watch(
v-model="filter"
placeholder="ค้นหา"
style="width: 200px; max-width: auto"
@keydown.enter="(pagination.page = 1), getList()"
@keydown.enter.prevent="(pagination.page = 1), getList()"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -172,7 +172,7 @@ watchEffect(() => {
dense
placeholder="ค้นหา"
v-model="filterKeyword"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -200,7 +200,7 @@ onMounted(async () => {
ref="filterRef"
outlined
placeholder="ค้นหา"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -421,7 +421,7 @@ onMounted(async () => {
ref="filterRef"
outlined
placeholder="ค้นหา"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />