mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-09-20 23:55:58 +08:00
feat: 修改应用商店的分页 (#1895)
This commit is contained in:
parent
6c3a5b0ec7
commit
1cccfeff22
|
@ -119,6 +119,7 @@
|
||||||
v-model:page-size="paginationConfig.pageSize"
|
v-model:page-size="paginationConfig.pageSize"
|
||||||
v-bind="paginationConfig"
|
v-bind="paginationConfig"
|
||||||
@change="search(req)"
|
@change="search(req)"
|
||||||
|
:page-sizes="[30, 60, 90]"
|
||||||
:layout="mobile ? 'total, prev, pager, next' : 'total, sizes, prev, pager, next, jumper'"
|
:layout="mobile ? 'total, prev, pager, next' : 'total, sizes, prev, pager, next, jumper'"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -148,7 +149,7 @@ const language = useI18n().locale.value;
|
||||||
|
|
||||||
const paginationConfig = reactive({
|
const paginationConfig = reactive({
|
||||||
currentPage: 1,
|
currentPage: 1,
|
||||||
pageSize: 50,
|
pageSize: 60,
|
||||||
total: 0,
|
total: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -156,7 +157,7 @@ const req = reactive({
|
||||||
name: '',
|
name: '',
|
||||||
tags: [],
|
tags: [],
|
||||||
page: 1,
|
page: 1,
|
||||||
pageSize: 50,
|
pageSize: 60,
|
||||||
});
|
});
|
||||||
|
|
||||||
const apps = ref<App.AppDTO[]>([]);
|
const apps = ref<App.AppDTO[]>([]);
|
||||||
|
|
Loading…
Reference in a new issue