From efcf526f1b1843bda8b1372bdef7d38c775f1f82 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 13 Jul 2023 11:31:17 +0800 Subject: [PATCH] refactor: logic of attachment data filtering (#4194) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area console /kind improvement /milestone 2.8.x #### What this PR does / why we need it: 重构附件数据管理的筛选条件逻辑以及 UI。 image Ref https://github.com/halo-dev/halo/pull/4182 Ref https://github.com/halo-dev/halo/issues/4181 #### Special notes for your reviewer: 需要测试: 1. 测试附件的筛选条件包括关键词筛选功能是否正常。 #### Does this PR introduce a user-facing change? ```release-note 重构 Console 端附件数据列表的筛选项 UI 和逻辑。 ``` --- .../contents/attachments/AttachmentList.vue | 260 ++++++------------ 1 file changed, 81 insertions(+), 179 deletions(-) diff --git a/console/src/modules/contents/attachments/AttachmentList.vue b/console/src/modules/contents/attachments/AttachmentList.vue index 486d9175e..56597fffe 100644 --- a/console/src/modules/contents/attachments/AttachmentList.vue +++ b/console/src/modules/contents/attachments/AttachmentList.vue @@ -1,6 +1,5 @@