|
|
|
@ -667,9 +667,15 @@ class MemoDetail extends Component {
|
|
|
|
|
if (!memo || this.state.memoLoading) {
|
|
|
|
|
return <div className="edu-back-white" id="forum_index_list"></div>
|
|
|
|
|
}
|
|
|
|
|
let _current_user = {}
|
|
|
|
|
if (current_user) {
|
|
|
|
|
_current_user = current_user
|
|
|
|
|
// --------------------------------------------------------------------------------------------帖子獎勵 END
|
|
|
|
|
showCommentInput = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (window.__useKindEditor === true) {
|
|
|
|
|
this.refs.editor.showEditor();
|
|
|
|
|
} else {
|
|
|
|
|
this.refs.editor.showEditor();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
(_current_user.user_url = `/users/${_current_user.login}`);
|
|
|
|
|
memo.isDetailPage = true;
|
|
|
|
|