From 191eebca955f44363d97bdcbaf7916626815b750 Mon Sep 17 00:00:00 2001 From: matevip Date: Fri, 1 May 2026 09:51:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(activity):=20align=20initial=20pageSize=20w?= =?UTF-8?q?ith=20page-sizes=20options=20(30=E2=86=9220)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mateclaw-ui/src/views/Security/Activity/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mateclaw-ui/src/views/Security/Activity/index.vue b/mateclaw-ui/src/views/Security/Activity/index.vue index b7a1ad7d..461d2f81 100644 --- a/mateclaw-ui/src/views/Security/Activity/index.vue +++ b/mateclaw-ui/src/views/Security/Activity/index.vue @@ -231,7 +231,9 @@ const events = ref([]) const loading = ref(false) const page = ref(1) // Element Plus pagination owns this ref; @size-change writes through. -const pageSize = ref(30) +// Default 20 to match the smallest entry in :page-sizes — anything +// off-list leaves the size dropdown showing a blank current value. +const pageSize = ref(20) const total = ref(0) const filters = reactive({ source: '', action: '', resourceType: '' }) const showMoreFilters = ref(false)