From fbbdd47d8339b2936f83c5ecc9a5a402ce5b0128 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 28 Feb 2023 22:30:18 +0800 Subject: [PATCH] fix: incorrect default pagination number of attachment list (#890) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind bug #### What this PR does / why we need it: 修复附件管理默认分页条数不正确的问题,应该是在 https://github.com/halo-dev/console/pull/878 中测试分页之后没有改回原来的值导致的。 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/3406 #### Special notes for your reviewer: 测试附件管理页面默认分页条数是否为 60 即可。 image #### Does this PR introduce a user-facing change? ```release-note None ``` --- src/modules/contents/attachments/AttachmentList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/contents/attachments/AttachmentList.vue b/src/modules/contents/attachments/AttachmentList.vue index 900e3492..a7fa93d9 100644 --- a/src/modules/contents/attachments/AttachmentList.vue +++ b/src/modules/contents/attachments/AttachmentList.vue @@ -135,7 +135,7 @@ function handleClearFilters() { const keyword = ref(""); const page = ref(1); -const size = ref(20); +const size = ref(60); const { attachments,