|
|
@ -225,7 +225,7 @@ class Comments extends Component {
|
|
|
|
|
|
|
|
|
|
|
|
<div className="comment_content clearfix" id={`reply_content_${item.id}`}>
|
|
|
|
<div className="comment_content clearfix" id={`reply_content_${item.id}`}>
|
|
|
|
<div className="color-grey-3" id={`reply_content_${item.id}`}>
|
|
|
|
<div className="color-grey-3" id={`reply_content_${item.id}`}>
|
|
|
|
<div className={"break_word_comments"} dangerouslySetInnerHTML={{__html: _content}}></div>
|
|
|
|
<div className={"break_word_comments markdown-body"} dangerouslySetInnerHTML={{__html: _content}}></div>
|
|
|
|
<div className="cl"></div>
|
|
|
|
<div className="cl"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -326,7 +326,7 @@ class Comments extends Component {
|
|
|
|
{ item.hidden && ((this.props.onlySuperAdminCouldHide && !item.isSuperAdmin)
|
|
|
|
{ item.hidden && ((this.props.onlySuperAdminCouldHide && !item.isSuperAdmin)
|
|
|
|
|| !this.props.onlySuperAdminCouldHide && item.admin === false && (item.manager === false || item.manager == undefined))
|
|
|
|
|| !this.props.onlySuperAdminCouldHide && item.admin === false && (item.manager === false || item.manager == undefined))
|
|
|
|
? <p className="color-orange font-16">违规评论已被屏蔽!</p>
|
|
|
|
? <p className="color-orange font-16">违规评论已被屏蔽!</p>
|
|
|
|
: <div className={"break_word_comments"} dangerouslySetInnerHTML={{__html: _content}}></div>
|
|
|
|
: <div className={"break_word_comments markdown-body"} dangerouslySetInnerHTML={{__html: _content}}></div>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
<div className="cl"></div>
|
|
|
|
<div className="cl"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|