From 4eb205ba661ab0df87a986c68e00c79dd23d1c15 Mon Sep 17 00:00:00 2001 From: Halo Dev Bot <87291978+halo-dev-bot@users.noreply.github.com> Date: Tue, 23 Apr 2024 14:40:53 +0800 Subject: [PATCH] [release-2.14] fix: the details of the attachment may be empty (#5774) * fix: the details of the attachment may be empty * fix: the details of the attachment may be empty --------- Co-authored-by: LIlGG <1103069291@qq.com> --- .../contents/attachments/AttachmentList.vue | 3 ++- .../components/AttachmentDetailModal.vue | 19 ++----------------- 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/ui/console-src/modules/contents/attachments/AttachmentList.vue b/ui/console-src/modules/contents/attachments/AttachmentList.vue index 213ae0eea..63317740a 100644 --- a/ui/console-src/modules/contents/attachments/AttachmentList.vue +++ b/ui/console-src/modules/contents/attachments/AttachmentList.vue @@ -166,6 +166,7 @@ const onDetailModalClose = () => { selectedAttachment.value = undefined; nameQuery.value = undefined; nameQueryAttachment.value = undefined; + detailVisible.value = false; handleFetchAttachments(); }; @@ -230,7 +231,7 @@ onMounted(() => {