fix .prevent
This commit is contained in:
parent
0b80e047be
commit
530b0c9b7e
42 changed files with 84 additions and 84 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ onMounted(async () => {
|
|||
"
|
||||
outline
|
||||
label="ยืนยันการแก้ไขสำเร็จ"
|
||||
@click.stop.pervent="onConfirmEdit"
|
||||
@click.stop.prevent="onConfirmEdit"
|
||||
/>
|
||||
<q-btn
|
||||
flat
|
||||
|
|
@ -254,7 +254,7 @@ onMounted(async () => {
|
|||
color="public"
|
||||
outline
|
||||
label="ยืนยันข้อมูลถูกต้อง"
|
||||
@click.stop.pervent="onConfirmDone"
|
||||
@click.stop.prevent="onConfirmDone"
|
||||
/>
|
||||
<q-btn
|
||||
flat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue