From 99eae2f31b7ac4e5d986fdbfd108cf1a31dd8620 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Thu, 23 May 2024 10:56:50 +0800 Subject: [PATCH] refactor: simplify the code of reply creation modal (#5972) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /area ui /kind improvement /milestone 2.16.x #### What this PR does / why we need it: 简化评论回复组件的代码。 #### Does this PR introduce a user-facing change? ```release-note None ``` --- .../comments/components/CommentListItem.vue | 43 +++---- .../components/ReplyCreationModal.vue | 111 ++++++------------ .../comments/components/ReplyListItem.vue | 44 ++++--- ui/package.json | 4 +- ui/pnpm-lock.yaml | 20 ++-- 5 files changed, 88 insertions(+), 134 deletions(-) diff --git a/ui/console-src/modules/contents/comments/components/CommentListItem.vue b/ui/console-src/modules/contents/comments/components/CommentListItem.vue index 073b03a6f..a6fae6bd0 100644 --- a/ui/console-src/modules/contents/comments/components/CommentListItem.vue +++ b/ui/console-src/modules/contents/comments/components/CommentListItem.vue @@ -1,18 +1,18 @@