From 85f5114499d2e78ae28956f27786f21efd80af1f Mon Sep 17 00:00:00 2001 From: ruibaby Date: Thu, 16 May 2019 14:39:35 +0800 Subject: [PATCH] Refactor comment management. --- src/components/Tools/HeaderCommentTab.vue | 8 +++++ src/views/comment/CommentList.vue | 2 +- .../comment/{ => components}/CommentTab.vue | 2 +- src/views/dashboard/Dashboard.vue | 6 ++-- .../dashboard/components/RecentCommentTab.vue | 36 +++++++------------ 5 files changed, 26 insertions(+), 28 deletions(-) create mode 100644 src/components/Tools/HeaderCommentTab.vue rename src/views/comment/{ => components}/CommentTab.vue (99%) diff --git a/src/components/Tools/HeaderCommentTab.vue b/src/components/Tools/HeaderCommentTab.vue new file mode 100644 index 00000000..f6601216 --- /dev/null +++ b/src/components/Tools/HeaderCommentTab.vue @@ -0,0 +1,8 @@ + + + diff --git a/src/views/comment/CommentList.vue b/src/views/comment/CommentList.vue index 83e670ec..53d61157 100644 --- a/src/views/comment/CommentList.vue +++ b/src/views/comment/CommentList.vue @@ -21,7 +21,7 @@