fix:add filter rowsPerPage = 3000
This commit is contained in:
parent
b70d9948c0
commit
6f495cca9d
1 changed files with 3 additions and 2 deletions
|
|
@ -136,7 +136,8 @@ function save() {
|
|||
* @param newPagination ข้อมูล Pagination ใหม่
|
||||
*/
|
||||
function updatePagination(newPagination: any) {
|
||||
formData.pageSize = newPagination.rowsPerPage;
|
||||
formData.pageSize =
|
||||
newPagination.rowsPerPage === 0 ? 3000 : newPagination.rowsPerPage;
|
||||
}
|
||||
|
||||
/** Function ค้นหาข้อมูล */
|
||||
|
|
@ -314,7 +315,7 @@ onMounted(() => {
|
|||
dense
|
||||
class="custom-header-table"
|
||||
:visible-columns="dataStore.visibleColumns"
|
||||
:rows-per-page-options="[10, 25, 50, 100]"
|
||||
:rows-per-page-options="[0, 10, 25, 50, 100]"
|
||||
@update:pagination="updatePagination"
|
||||
selection="multiple"
|
||||
v-model:selected="selected"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue