diff --git a/src/components/global.less b/src/components/global.less
index f2a5363f..14014097 100644
--- a/src/components/global.less
+++ b/src/components/global.less
@@ -605,6 +605,13 @@ body {
}
}
+.ant-comment-avatar {
+ img {
+ width: 40px !important;
+ height: 40px !important;
+ }
+}
+
.bottom-control {
position: absolute;
bottom: 0px;
diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue
index ed9ad97a..8dc6b58f 100644
--- a/src/views/attachment/AttachmentList.vue
+++ b/src/views/attachment/AttachmentList.vue
@@ -40,13 +40,13 @@
(uploadVisible = true)">上传
-
+
批量操作
-
+
删除
-
+
取消
@@ -272,7 +272,7 @@ export default {
handleDeleteAttachmentInBatch() {
var that = this
if (this.batchSelectedAttachments.length <= 0) {
- this.$message.success('你还未选择任何附件,先选择一个吧')
+ this.$message.success('你还未选择任何附件,请至少选择一个!')
return
}
this.$confirm({
@@ -290,4 +290,4 @@ export default {
}
}
}
-
\ No newline at end of file
+
diff --git a/src/views/comment/components/CommentTab.vue b/src/views/comment/components/CommentTab.vue
index 032d78dd..b299547f 100644
--- a/src/views/comment/components/CommentTab.vue
+++ b/src/views/comment/components/CommentTab.vue
@@ -394,8 +394,8 @@
@@ -542,7 +542,7 @@ export default {
selectedRowKeys: [],
selectedRows: [],
comments: [],
- selectComment: {},
+ selectedComment: {},
replyComment: {},
loading: false,
commentStatus: commentApi.commentStatus,
@@ -595,7 +595,7 @@ export default {
this.handleEditStatusClick(comment.id, 'PUBLISHED')
},
handleReplyClick(comment) {
- this.selectComment = comment
+ this.selectedComment = comment
this.replyCommentVisible = true
this.replyComment.parentId = comment.id
if (this.type === 'posts') {
@@ -615,7 +615,7 @@ export default {
commentApi.create(this.type, this.replyComment).then(response => {
this.$message.success('回复成功!')
this.replyComment = {}
- this.selectComment = {}
+ this.selectedComment = {}
this.replyCommentVisible = false
this.loadComments()
})
@@ -659,7 +659,7 @@ export default {
},
onReplyClose() {
this.replyComment = {}
- this.selectComment = {}
+ this.selectedComment = {}
this.replyCommentVisible = false
},
onSelectionChange(selectedRowKeys) {
@@ -675,7 +675,7 @@ export default {
}
},
handleShowDetailDrawer(comment) {
- this.selectComment = comment
+ this.selectedComment = comment
this.commentDetailVisible = true
}
}
diff --git a/src/views/comment/components/TargetCommentDrawer.vue b/src/views/comment/components/TargetCommentDrawer.vue
index 6108022a..101f0bb1 100644
--- a/src/views/comment/components/TargetCommentDrawer.vue
+++ b/src/views/comment/components/TargetCommentDrawer.vue
@@ -25,11 +25,12 @@
@@ -42,13 +43,38 @@
@change="handlePaginationChange"
>
+
+
+
+ 回复
+
+
+
+
+
+
+
+