修改登录的弹框问题
This commit is contained in:
parent
cbe7775c81
commit
acd7d42eb5
|
|
@ -252,6 +252,11 @@ class comments extends Component {
|
|||
this.child = ref;
|
||||
};
|
||||
|
||||
loginModal() {
|
||||
this.props.showLoginDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
commentCtx = (v) => {
|
||||
return <RenderHtml className="break_word_comments" value={v} />;
|
||||
};
|
||||
|
|
@ -373,7 +378,9 @@ class comments extends Component {
|
|||
</div>
|
||||
) : (
|
||||
<div className="loginDiv">
|
||||
<Link to={`/login`}>登录</Link>并参与到对话中
|
||||
<a className="" onClick={() => this.loginModal()}>
|
||||
登录
|
||||
</a>并参与到对话中
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue