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