fix bug pagination
This commit is contained in:
parent
48fac904e1
commit
9ba92f39b1
1 changed files with 6 additions and 0 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue