fix: rowsPerPage 100

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-03-25 09:32:02 +07:00
parent c6ea0527c7
commit 8359d1fbca

View file

@ -23,7 +23,6 @@ const {
hideLoader,
success,
messageError,
dialogMessageNotify,
dialogConfirm,
} = mixin;
const dataStore = useChangeRoundDataStore();
@ -42,11 +41,16 @@ const formData = reactive<DataPost>({
firstName: "",
lastName: "",
page: 1,
pageSize: 10,
pageSize: 100,
selectedNodeId: null,
selectedNode: "",
});
const pagination = ref({
page: 1,
rowsPerPage: formData.pageSize,
});
/** โครงสร้างข้อมูลต้นไม้ขององค์กร **/
const nodeTree = ref<any[]>([]);
const expanded = ref<string[]>([]);
@ -305,6 +309,7 @@ onMounted(() => {
@click="handleSelectMultiple()"
/>
</div>
<d-table
ref="table"
:columns="dataStore.columns"
@ -317,6 +322,7 @@ onMounted(() => {
:visible-columns="dataStore.visibleColumns"
:rows-per-page-options="[10, 25, 50, 100]"
@update:pagination="updatePagination"
v-model:pagination="pagination"
selection="multiple"
v-model:selected="selected"
>