diff --git a/public/react/src/modules/courses/common/comments/CCommentItem.js b/public/react/src/modules/courses/common/comments/CCommentItem.js index ea98747cc..c440e0424 100644 --- a/public/react/src/modules/courses/common/comments/CCommentItem.js +++ b/public/react/src/modules/courses/common/comments/CCommentItem.js @@ -227,11 +227,11 @@ class CCommentItem extends Component{ } {/* } */} - {item.is_appeal_info && isAdmin && item.appeal_status == 1 && + {item.is_appeal_info && isAdmin && item.appeal_status == 1 && this.props.isAdmin()===true&& this.on_deal_appeal_score(REFUSE, item)} className="fr ml6">拒绝申诉 this.on_deal_appeal_score(ACCEPT, item)} className="fr">接受申诉 } - {item.appeal_status == 1 && this.props.is_author == true && + {item.appeal_status == 1 && this.props.is_author == true && this.props.isStudent()===true && this.cancelMyAppeal()}>撤销申诉}