feat: 修改应用商店的分页 (#1895)

This commit is contained in:
zhengkunwang 2023-08-09 18:00:13 +08:00 committed by GitHub
parent 6c3a5b0ec7
commit 1cccfeff22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,7 @@
v-model:page-size="paginationConfig.pageSize"
v-bind="paginationConfig"
@change="search(req)"
:page-sizes="[30, 60, 90]"
:layout="mobile ? 'total, prev, pager, next' : 'total, sizes, prev, pager, next, jumper'"
/>
</div>
@ -148,7 +149,7 @@ const language = useI18n().locale.value;
const paginationConfig = reactive({
currentPage: 1,
pageSize: 50,
pageSize: 60,
total: 0,
});
@ -156,7 +157,7 @@ const req = reactive({
name: '',
tags: [],
page: 1,
pageSize: 50,
pageSize: 60,
});
const apps = ref<App.AppDTO[]>([]);