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

@ -527,7 +527,7 @@ watch(
lazy-rules
label="คำค้น"
hide-bottom-space
@keydown.enter="fetchDataPos()"
@keydown.enter.prevent="fetchDataPos()"
>
<template v-slot:append>
<q-icon

View file

@ -174,7 +174,7 @@ onMounted(() => {
v-model="keyword"
label="ค้นหา"
class="q-mr-sm"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -269,7 +269,7 @@ onMounted(async () => {
v-model="keyword"
label="ค้นหา"
class="q-mr-sm"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />

View file

@ -954,7 +954,7 @@ onMounted(async () => {
ref="filterRef"
outlined
placeholder="ค้นหา"
@keydown.enter="onSearch"
@keydown.enter.prevent="onSearch"
>
<template v-slot:append>
<q-icon name="search" />
@ -1451,7 +1451,7 @@ onMounted(async () => {
dense
placeholder="ค้นหา"
v-model="formFilter.searchKeyword"
@keydown.enter="(formFilter.page = 1), fecthlistperson()"
@keydown.enter.prevent="(formFilter.page = 1), fecthlistperson()"
>
<template v-slot:append>
<q-icon name="search" />

View file

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

View file

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

View file

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