fix: 列表页默认每页 20 条,统一分页规格

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
caoqianming 2026-04-24 08:20:54 +08:00
parent aeec917c09
commit 3a305b4a7e
4 changed files with 4 additions and 4 deletions

View File

@ -75,7 +75,7 @@ const brands = ref([])
const tableLoading = ref(false) const tableLoading = ref(false)
const pagination = reactive({ const pagination = reactive({
page: 1, page: 1,
pageSize: 10, pageSize: 20,
total: 0 total: 0
}) })
const filters = reactive({ search: '' }) const filters = reactive({ search: '' })

View File

@ -96,7 +96,7 @@ const factories = ref([])
const tableLoading = ref(false) const tableLoading = ref(false)
const pagination = reactive({ const pagination = reactive({
page: 1, page: 1,
pageSize: 10, pageSize: 20,
total: 0 total: 0
}) })
const dialogVisible = ref(false) const dialogVisible = ref(false)

View File

@ -315,7 +315,7 @@ const materials = ref([])
const tableLoading = ref(false) const tableLoading = ref(false)
const pagination = reactive({ const pagination = reactive({
page: 1, page: 1,
pageSize: 10, pageSize: 20,
total: 0 total: 0
}) })
const factories = ref([]) const factories = ref([])

View File

@ -86,7 +86,7 @@ const users = ref([])
const tableLoading = ref(false) const tableLoading = ref(false)
const pagination = reactive({ const pagination = reactive({
page: 1, page: 1,
pageSize: 10, pageSize: 20,
total: 0 total: 0
}) })
const factories = ref([]) const factories = ref([])