ผูก api จัดสรร

This commit is contained in:
Warunee Tamkoo 2023-08-26 15:59:09 +07:00
parent 88e928e69f
commit 27340c9ca8
10 changed files with 895 additions and 1120 deletions

View file

@ -86,7 +86,7 @@ const pagination = ref({
rowsPerPage: 10,
});
const paging = ref<boolean>(true);
const paginationLabel = (start: string, end: string, total: string) => {
const paginationLabel = (start: number, end: number, total: number) => {
if (paging.value == true) return " " + start + "-" + end + " ใน " + total;
else return start + "-" + end + " ใน " + total;
};