fix(ui): 所有列表页默认分页改为10条(原20条)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -36,7 +36,7 @@ interface TabState {
|
||||
loaded: boolean
|
||||
}
|
||||
function freshTabState(): TabState {
|
||||
return { items: [], total: 0, page: 1, pageSize: 20, loading: false, errorMsg: null, loaded: false }
|
||||
return { items: [], total: 0, page: 1, pageSize: 10, loading: false, errorMsg: null, loaded: false }
|
||||
}
|
||||
|
||||
const route = useRoute()
|
||||
@@ -344,7 +344,7 @@ onMounted(() => {
|
||||
<el-pagination
|
||||
:current-page="tabState.wechat.page"
|
||||
:page-size="tabState.wechat.pageSize"
|
||||
:page-sizes="[20, 50, 100]"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
:total="tabState.wechat.total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
background
|
||||
@@ -419,7 +419,7 @@ onMounted(() => {
|
||||
<el-pagination
|
||||
:current-page="tabState.whatsapp.page"
|
||||
:page-size="tabState.whatsapp.pageSize"
|
||||
:page-sizes="[20, 50, 100]"
|
||||
:page-sizes="[10, 20, 50, 100]"
|
||||
:total="tabState.whatsapp.total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
background
|
||||
|
||||
Reference in New Issue
Block a user