feat: standardize default page size to 20, add pagination to pick list, and fix table horizontal scrollbar visibility
This commit is contained in:
@ -139,6 +139,7 @@
|
||||
highlight-current-row
|
||||
header-cell-class-name="table-header-gray"
|
||||
@sort-change="handleSortChange"
|
||||
height="calc(100vh - 300px)"
|
||||
>
|
||||
<template v-for="col in allColumns" :key="col.prop">
|
||||
<el-table-column
|
||||
@ -239,7 +240,7 @@
|
||||
v-model:current-page="queryParams.page"
|
||||
v-model:page-size="queryParams.pageSize"
|
||||
:total="total"
|
||||
:page-sizes="[100, 200, 500, 1000]"
|
||||
:page-sizes="[20, 50, 100, 200]"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
background
|
||||
@size-change="fetchData"
|
||||
@ -794,7 +795,7 @@ const companyOptions = ref<string[]>([])
|
||||
|
||||
const queryParams = reactive({
|
||||
page: 1,
|
||||
pageSize: 50,
|
||||
pageSize: 20,
|
||||
keyword: '',
|
||||
searchField: 'all',
|
||||
sku: '',
|
||||
|
||||
Reference in New Issue
Block a user