From 53379b34877b56348b65521f86e6fb1a30650f47 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Sat, 29 Jun 2019 13:44:55 +0800 Subject: [PATCH] css --- .../src/modules/comment/CommentItemMDEditor.js | 17 ++++++++++------- public/react/src/modules/comment/Comments.js | 1 + .../courses/common/comments/CCommentItem.js | 2 +- .../modules/courses/common/courseMessage.css | 4 +++- .../graduation/tasks/Graduationtaskitem.js | 2 +- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/public/react/src/modules/comment/CommentItemMDEditor.js b/public/react/src/modules/comment/CommentItemMDEditor.js index 3c89d0800..98afa4228 100644 --- a/public/react/src/modules/comment/CommentItemMDEditor.js +++ b/public/react/src/modules/comment/CommentItemMDEditor.js @@ -96,7 +96,7 @@ class CommentItemMDEditor extends Component { } render() { - const { match, history, item, user } = this.props + const { match, history, item, user, buttonText } = this.props if (!item) { return
} @@ -111,7 +111,7 @@ class CommentItemMDEditor extends Component { ); diff --git a/public/react/src/modules/comment/Comments.js b/public/react/src/modules/comment/Comments.js index 711ece6fa..ec7d6a5a8 100644 --- a/public/react/src/modules/comment/Comments.js +++ b/public/react/src/modules/comment/Comments.js @@ -408,6 +408,7 @@ class Comments extends Component { currentReplyComment={currentReplyComment} item={item} user={user} + buttonText={this.props.buttonText} > } diff --git a/public/react/src/modules/courses/common/comments/CCommentItem.js b/public/react/src/modules/courses/common/comments/CCommentItem.js index 183ef6ea5..d9b1b7927 100644 --- a/public/react/src/modules/courses/common/comments/CCommentItem.js +++ b/public/react/src/modules/courses/common/comments/CCommentItem.js @@ -175,7 +175,7 @@ class CCommentItem extends Component{ // src={getImageUrl(`images/${item.image_url}`)} return ( -