diff --git a/src/modules/login/LoginDialog.js b/src/modules/login/LoginDialog.js index 5d5d46909..a030dca3f 100644 --- a/src/modules/login/LoginDialog.js +++ b/src/modules/login/LoginDialog.js @@ -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 ( 下次自动登录 - this.getloginurl("https://www.gitlink.org.cn/resetPassword")} + this.getloginurl((common && common.main_site_url) ? `${common.main_site_url}/resetPassword`:`/resetPassword`)} className="mr3 color-grey-9">找回密码 - this.getloginurl("https://www.gitlink.org.cn/register")} className="color-grey-9">注册 + this.getloginurl((common && common.main_site_url) ? `${common.main_site_url}/register`:`/register`)} className="color-grey-9">注册