forked from Gitlink/forgeplus-react
main_site_url
This commit is contained in:
parent
5b4c103ad5
commit
765840f2c8
|
@ -475,13 +475,13 @@ class LoginDialog extends Component {
|
|||
}
|
||||
|
||||
render() {
|
||||
let { qqlogin, login, isGoing, isGoingValue, disabled, bottonclass, Phonenumberisnotco,
|
||||
let { login, isGoing, isGoingValue, disabled, Phonenumberisnotco,
|
||||
dialogBox, isRender, weixinlogin } = this.state;
|
||||
|
||||
if (isRender === undefined) {
|
||||
isRender = false
|
||||
}
|
||||
|
||||
const common = this.props && this.props.mygetHelmetapi && this.props.mygetHelmetapi.common;
|
||||
return (
|
||||
<Dialog open={true} id="DialogID"
|
||||
className="zindextest"
|
||||
|
@ -580,9 +580,9 @@ class LoginDialog extends Component {
|
|||
<label htmlFor="p_autolog" style={{ top: '0px' }}>下次自动登录</label>
|
||||
</span>
|
||||
<span className="fr">
|
||||
<a onClick={(url) => this.getloginurl("https://www.gitlink.org.cn/resetPassword")}
|
||||
<a onClick={(url) => this.getloginurl((common && common.main_site_url) ? `${common.main_site_url}/resetPassword`:`/resetPassword`)}
|
||||
className="mr3 color-grey-9">找回密码</a><em className="vertical-line"></em>
|
||||
<a onClick={(url) => this.getloginurl("https://www.gitlink.org.cn/register")} className="color-grey-9">注册</a>
|
||||
<a onClick={(url) => this.getloginurl((common && common.main_site_url) ? `${common.main_site_url}/register`:`/register`)} className="color-grey-9">注册</a>
|
||||
</span>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue