Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 设置在不允许注册时候隐藏注册按钮 #78

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kleinsea
Copy link

No description provided.

@@ -197,7 +199,7 @@ class ResetPwdFormCompoment extends Component {
<Link href={"/Login"}>返回登录</Link>
</div>
<div>
<Link href={"/SignUp"}>注册账号</Link>
{ this.props.registerEnabled ? <Link href={"/signup"}>注册账号</Link> : null }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

直接写成 { this.props.registerEnabled &&<Link href={"/signup"}>注册账号</Link>} 即可,上同

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants