mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-12 17:46:20 +08:00
feat: App Store - Installed: Pagination Cache Added (#10212)
This commit is contained in:
parent
222d07175a
commit
29306827ba
1 changed files with 3 additions and 0 deletions
|
@ -528,6 +528,9 @@ const hasLinkButton = (installed: any) => {
|
||||||
const search = async () => {
|
const search = async () => {
|
||||||
searchReq.page = paginationConfig.currentPage;
|
searchReq.page = paginationConfig.currentPage;
|
||||||
searchReq.pageSize = paginationConfig.pageSize;
|
searchReq.pageSize = paginationConfig.pageSize;
|
||||||
|
|
||||||
|
localStorage.setItem('app-installed-page-size', String(searchReq.pageSize));
|
||||||
|
|
||||||
const res = await searchAppInstalled(searchReq);
|
const res = await searchAppInstalled(searchReq);
|
||||||
data.value = res.data.items;
|
data.value = res.data.items;
|
||||||
paginationConfig.total = res.data.total;
|
paginationConfig.total = res.data.total;
|
||||||
|
|
Loading…
Add table
Reference in a new issue