From d13f7e7d6268421054fdf575e4a9cadb684f2ce8 Mon Sep 17 00:00:00 2001 From: ssongliu Date: Wed, 25 Oct 2023 17:11:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E5=85=88=E5=90=8E=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E5=88=86=E9=A1=B5=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/app-store/apps/index.vue | 2 +- frontend/src/views/app-store/installed/index.vue | 2 +- frontend/src/views/container/compose/detail/index.vue | 1 + frontend/src/views/database/mysql/index.vue | 2 +- frontend/src/views/website/website/index.vue | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/app-store/apps/index.vue b/frontend/src/views/app-store/apps/index.vue index 36aa8f48b4865..827b321ec8cf0 100644 --- a/frontend/src/views/app-store/apps/index.vue +++ b/frontend/src/views/app-store/apps/index.vue @@ -192,7 +192,7 @@ const language = useI18n().locale.value; const paginationConfig = reactive({ cacheSizeKey: 'app-page-size', currentPage: 1, - pageSize: 60, + pageSize: Number(localStorage.getItem('app-page-size')) || 60, total: 0, }); diff --git a/frontend/src/views/app-store/installed/index.vue b/frontend/src/views/app-store/installed/index.vue index 587767215f0b2..6a71d674871c9 100644 --- a/frontend/src/views/app-store/installed/index.vue +++ b/frontend/src/views/app-store/installed/index.vue @@ -337,7 +337,7 @@ let timer: NodeJS.Timer | null = null; const paginationConfig = reactive({ cacheSizeKey: 'app-installed-page-size', currentPage: 1, - pageSize: 20, + pageSize: Number(localStorage.getItem('app-installed-page-size')) || 20, total: 0, }); const open = ref(false); diff --git a/frontend/src/views/container/compose/detail/index.vue b/frontend/src/views/container/compose/detail/index.vue index c0aad52179b2e..e2705f9457e02 100644 --- a/frontend/src/views/container/compose/detail/index.vue +++ b/frontend/src/views/container/compose/detail/index.vue @@ -166,6 +166,7 @@ const search = async () => { let filterItem = filters.value; let params = { name: '', + state: 'all', page: paginationConfig.currentPage, pageSize: paginationConfig.pageSize, filters: filterItem, diff --git a/frontend/src/views/database/mysql/index.vue b/frontend/src/views/database/mysql/index.vue index f87917133d3fd..9830d8d708e0a 100644 --- a/frontend/src/views/database/mysql/index.vue +++ b/frontend/src/views/database/mysql/index.vue @@ -269,7 +269,7 @@ const data = ref(); const paginationConfig = reactive({ cacheSizeKey: 'mysql-page-size', currentPage: 1, - pageSize: 10, + pageSize: Number(localStorage.getItem('mysql-page-size')) || 10, total: 0, orderBy: 'created_at', order: 'null', diff --git a/frontend/src/views/website/website/index.vue b/frontend/src/views/website/website/index.vue index ecb329b220288..ac6d11f3964ce 100644 --- a/frontend/src/views/website/website/index.vue +++ b/frontend/src/views/website/website/index.vue @@ -248,7 +248,7 @@ let groups = ref([]); const paginationConfig = reactive({ cacheSizeKey: 'website-page-size', currentPage: 1, - pageSize: 10, + pageSize: Number(localStorage.getItem('website-page-size')) || 10, total: 0, }); let req = reactive({