fix .prevent

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-09 10:38:40 +07:00
parent 0b80e047be
commit 530b0c9b7e
42 changed files with 84 additions and 84 deletions

View file

@ -515,7 +515,7 @@ onMounted(async () => {
:disable="rowIndex === 0"
:color="rowIndex === 0 ? 'grey' : 'public'"
icon="mdi-chevron-left"
@click.stop.pervent="onNavigateRow('previous')"
@click.stop.prevent="onNavigateRow('previous')"
>
<q-tooltip>อมลกอนหน</q-tooltip>
</q-btn>
@ -526,7 +526,7 @@ onMounted(async () => {
:disable="rowIndex + 1 === rowData.length"
:color="rowIndex + 1 === rowData.length ? 'grey' : 'public'"
icon="mdi-chevron-right"
@click.stop.pervent="onNavigateRow('next')"
@click.stop.prevent="onNavigateRow('next')"
>
<q-tooltip>อมลถดไป</q-tooltip>
</q-btn>

View file

@ -838,7 +838,7 @@ onMounted(async () => {
:color="props.rowIndex + 1 == 1 ? 'grey' : 'green'"
:disable="props.rowIndex + 1 == 1"
icon="mdi-arrow-up-bold"
@click.stop.pervent="onSwapData('up', props.row.id)"
@click.stop.prevent="onSwapData('up', props.row.id)"
/>
<q-btn
dense
@ -847,7 +847,7 @@ onMounted(async () => {
:color="rows.length == props.rowIndex + 1 ? 'grey' : 'red'"
:disable="rows.length == props.rowIndex + 1"
icon="mdi-arrow-down-bold"
@click.stop.pervent="onSwapData('down', props.row.id)"
@click.stop.prevent="onSwapData('down', props.row.id)"
>
</q-btn>
@ -857,7 +857,7 @@ onMounted(async () => {
round
color="edit"
icon="edit"
@click.stop.pervent="onEditData(props.rowIndex)"
@click.stop.prevent="onEditData(props.rowIndex)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
@ -867,7 +867,7 @@ onMounted(async () => {
round
:icon="props.row.isDelete ? 'mdi-refresh-circle' : 'delete'"
:color="props.row.isDelete ? 'orange' : 'red'"
@click.stop.pervent="
@click.stop.prevent="
onConfirmDeleteData(props.row.id, props.row.isDelete)
"
>