fix bug pagination

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-08-14 11:58:36 +07:00
parent 48fac904e1
commit 9ba92f39b1

View file

@ -110,6 +110,11 @@ const visibleColumns = ref<string[]>([
"status",
"remark",
]);
const pagination = ref({
descending: true,
page: page.value,
rowsPerPage: pageSize.value,
});
/** function กลับไปหน้าทะเบียนประวัติ*/
function onclickBackPage() {
@ -303,6 +308,7 @@ onMounted(async () => {
:paging="true"
:visible-columns="visibleColumns"
@update:pagination="updatePageSizePagination"
v-model:pagination="pagination"
>
<template v-slot:header="props">
<q-tr :props="props">