fix .prevent
This commit is contained in:
parent
409292b699
commit
1b42277dcb
70 changed files with 72 additions and 72 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue