refactor: 03 => enhance customer list fetching for mobile responsiveness and adjust pagination logic

This commit is contained in:
puriphatt 2025-01-31 16:05:03 +07:00
parent 07f0c0d47b
commit 15081f899d
2 changed files with 45 additions and 24 deletions

View file

@ -116,7 +116,11 @@ defineEmits<{
"
>
<q-td class="text-center" v-if="fieldSelected.includes('orderNumber')">
{{ (currentPage - 1) * pageSize + props.rowIndex + 1 }}
{{
$q.screen.xs
? props.rowIndex + 1
: (currentPage - 1) * pageSize + props.rowIndex + 1
}}
</q-td>
<q-td v-if="fieldSelected.includes('firstName')">