From 765840f2c8ac5542071e6855f34b04fc31ca1a32 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Thu, 17 Mar 2022 16:03:38 +0800 Subject: [PATCH] main_site_url --- src/modules/login/LoginDialog.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/login/LoginDialog.js b/src/modules/login/LoginDialog.js index 5d5d4690..a030dca3 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">注册